code: public static boolean containsWhitespace(final String source) {
  
      int strLen = source.length();
      for (int i = 0; i < strLen; i++) {
        if (Character.isWhitespace(source.charAt(i))) {
          return true;
        }
      }
      return false;
    }
docs: Returns true if given string have white span, false otherwise.<br>
  
  @param source string to be tested.
  @return true if given string have white span, false otherwise.