public static <T1> String toStringOrElse(final T1 value,
                                             final Function<T1, Object> getter,
                                             final String other) {
        if (value == null) {
            return other;
        } else {
            final Object value2 = Objects.requireNonNull(getter).apply(value);
            return convertToString(value2, other);
        }
    }
@return The result of calling {@link Object#toString()} on value
or an empty string if value is null.
stroom-util-shared/src/main/java/stroom/util/shared/NullSafe.java