hasChildren

Checks if the node has children.