code: public static void isBlankThen(String str, Consumer<String> consumer) {
          if (isBlank(str)) {
              consumer.accept(str);
          }
      }
docs: Execute consumer when the string is empty
  
  @param str      string value
  @param consumer consumer