has_child_nodes method

has_child_nodes

Returns a boolean value indicating whether the given Node has child nodes or not.

Returns

A boolean value that is if the node has child nodes, and otherwise.

def has_child_nodes(self):
    ...

See Also