code: public static boolean containsWhitespace(final CharSequence seq) {
          if (isEmpty(seq)) {
              return false;
          }
          final int strLen = seq.length();
          for (int i = 0; i < strLen; i++) {
              if (CharUtils.isWhitespace(seq.charAt(i))) {
                  return true;
              }
          }
          return false;
      }
docs: From org.springframework.util.StringUtils, under Apache License 2.0