BendNetwork.is_leaf
- BendNetwork.is_leaf(key)
 Verify if a node is a leaf.
- Parameters:
 - keyhashable
 The identifier of the node.
- Returns:
 - bool
 True or False.
See also
Notes
A node is a leaf if it has only one neighbor.
Verify if a node is a leaf.
The identifier of the node.
True or False.
See also
Notes
A node is a leaf if it has only one neighbor.