code: public static boolean isStringNullOrEmpty(final String input) {
          if (input == null || input.trim().isEmpty()) {
              return true;
          }
          return false;
  
      }
docs: Test to see if a String is null or contains only whitespace.
  
  @param input The String to test
  @return true if input is null or contains only whitespace, and false otherwise