code: public static boolean hasHtmlNodes(Node node) {
      return hasNodesOfType(
          node,
          HtmlOpenTagNode.class,
          HtmlCloseTagNode.class,
          HtmlCommentNode.class,
          HtmlAttributeNode.class,
          HtmlAttributeValueNode.class);
    }
docs: Returns true if the given {@code node} contains any children that are HTML nodes.