matches

fnbool matches(const(SelectorList) * list, DomNode * node, DomNode * scopeElement = null) @nogc nothrow pure @safe

Does the element match any selector of the list? scope is the element matched by :scope (the root of the query).