Compares two nodes and checks if they are the same type with the same coordinates.
First node
Second node
true if the nodes are the same.
true