Adding hasProperty functionality to node.