public hasChildNodes() as Boolean
Indicates whether this node has children.
True when at least one child exists.
print(node.hasChildNodes())