is_kink#
- is_kink(k: PlanarDiagram, endpoint: Endpoint) bool #
Determines whether an endpoint forms a kink in the planar diagram.
- Args:
k (PlanarDiagram): The planar diagram. endpoint (Endpoint): The endpoint being checked.
- Returns:
bool: True if the endpoint forms a kink, False otherwise.