absorbing_centrality.has_supernode

has_supernode(G)[source]

Checks if there exist a supernode in the graph.

Parameters:G (NetworkX graph) –
Returns:has_supernode
Return type:bool