intersectsNode

The Range.intersectsNode() method returns a boolean indicating whether the given Node intersects the Range.

MDN Reference