public static <T1, R> boolean isNull(final T1 value,
                                         final Function<T1, R> getter) {
        if (value == null) {
            return true;
        } else {
            return Objects.requireNonNull(getter).apply(value) == null;
        }
    }
@return True if any of value or the result of getter1 are
null, else false.
stroom-util-shared/src/main/java/stroom/util/shared/NullSafe.java