has_child_nodes method

has_child_nodes

Returns whether this node has any children.

Returns

true if has child nodes otherwise, false.

def has_child_nodes(self):
    ...

See Also