class OptionalUtils {

    public static <T> boolean containsDifferent(Optional<T> requestValue, T storeValue) {
        return requestValue
            .filter(Predicate.not(Predicate.isEqual(storeValue)))
            .isPresent();
    }

}