code: public static boolean isNullOrWhiteSpace(String arg) {
  
          if (Strings.isNullOrEmpty(arg) || arg.trim().isEmpty()) {
              return true;
          }
  
          return false;
      }
docs: Determines whether the parameter string is null, empty or whitespace.
  
  @param arg The string to be checked.
  @return true if the string is null, empty or whitespace.