DomNode.contains

bool contains(const(DomNode) * other) @nogc nothrow pure @safe const

Is other this node or one of its descendants?