Graph.is_node_connected

Graph.is_node_connected(key)[source]

Verify if a specific node is connected.

Parameters:
keyhashable

The identifier of the node.

Returns:
bool

True or False.

See also

is_leaf()