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