Network.has_node

Network.has_node(key)[source]

Verify if a specific node is present in the network.

Parameters:
keyhashable

The identifier of the node.

Returns:
bool

True or False.

See also

has_edge()