I meant that there is no need to have an extra function ```isSameNode()``` since it doesn't encapsulate the equality logic. There are other places where we may do for example ```nodes.indexOf(node)```  which would be incorrect if we have ```isSameNode()```, since if we have a function for a piece of logic, we should use that function to encapsulate this logic everywhere.