spydrnet.Definition.is_leaf

Definition.is_leaf()[source]

Check to see if this definition represents a leaf cell.

Leaf cells are cells with no children instances or no children cables. Blackbox cells are considered leaf cells as well as direct pass through cells with cables only