Network.has_node

Network.has_node(key)

Verify if a specific node is present in the network.

Parameters

key (hashable) – The identifier of the node.

Returns

bool – True or False.