Returns true if obj is of same type as the YamlNode and its content is also logically same.
Two YamlNode's are logically equal when the YamlNode and its child nodes have the same contents (YamlNode.Tag and YamlScalar.Value) and their node graph topology is exactly same as the other.