public static String nonBlankStringElseGet(final String str, final Supplier<String> otherSupplier) {
        return isBlankString(str)
                ? Objects.requireNonNull(Objects.requireNonNull(otherSupplier).get())
                : str;
    }
@return str if it is not null/empty/blank, else result of calling otherSupplier.
stroom-util-shared/src/main/java/stroom/util/shared/NullSafe.java