class KeyDataUtil {

    public static boolean isAzure(KeyData keyData) {
        return Optional.of(keyData)
                .filter(k -> Objects.nonNull(k.getAzureVaultPublicKeyId()))
                .filter(k -> Objects.nonNull(k.getAzureVaultPrivateKeyId()))
                .isPresent();
    }

    private  KeyDataUtil();

}