isSameNode() just implements the operator == or === (https://developer.mozilla.org/en-US/docs/Web/API/Node.isSameNode).
It is good to have a name for this case, and other function isEqualNode(), that do different thing. Is that what you meant?