is_leaf# is_leaf(k, node)# Return True if node is a degree-1 vertex. Parameters: k (PlanarDiagram) Return type: bool