is_leaf#

ToTNode.is_leaf() bool#

Check if this node is a leaf.

Returns#

bool

Whether this node is a leaf.