Graph.is_node_connected

Graph.is_node_connected(key)[source]

Verify if a specific node is connected.

Parameters

key (hashable) – The identifier of the node.

Returns

bool – True or False.