code: public boolean hasClass(String className) {
          for (Element element : this) {
              if (element.hasClass(className))
                  return true;
          }
          return false;
      }
docs: Determine if any of the matched elements have this class name set in their {@code class} attribute.
  @param className class name to check for
  @return true if any do, false if none do