BaseNetwork.has_node

BaseNetwork.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.