code: public static void hasText(String value, Supplier<String> message) {
      if (isBlank(value)) {
        throw new IllegalArgumentException(message.get());
      }
    }
docs: Assert that the given {@link String} is not blank.
  
  The assertion holds if and only if the {@link String} is not {@literal null}, {@link String#isEmpty() empty}
  or contains only {@link Character#isWhitespace(char) whitespace characters}.
  
  @param value {@link String} being evaluated.
  @param message {@link Supplier} containing the message used in the {@link IllegalArgumentException} thrown
  if the assertion fails.
  @throws java.lang.IllegalArgumentException if the {@link String} is blank.
  @see java.util.function.Supplier
  @see java.lang.String