private static <T> T handleNull(final Supplier<T> otherSupplier) {
        if (otherSupplier != null) {
            return otherSupplier.get();
        } else {
            return null;
        }
    }
If value is non-null apply getter1 to it.
If the result of that is non-null apply getter2 to the result.
If the result of that is non-null consume the result.
stroom-util-shared/src/main/java/stroom/util/shared/NullSafe.java