Node.contains

bool contains(Node other)

Is other this node or one of its descendants? (as in the DOM)