intersectsNode

Returns whether range intersects node.

MDN Reference