is_node function

Is x a node?