hasNode

Check if a node exists.