class TokenConverter {

    private boolean isSavedToConfiguration(TokenInfo tokenInfo) {
        return tokenInfo.getKeyInfo().stream()
                .anyMatch(keyInfo -> keyConverter.isSavedToConfiguration(keyInfo));
    }

    @Autowired public  TokenConverter(KeyConverter keyConverter);

}