public readonly property hasChildren as Boolean
Whether the node owns children or expects a deferred child enumeration.
if node.hasChildren: tree.expandNode(node)