is_triad# is_triad(G)[source]# Returns True if the graph G is a triad, else False. Parameters: GgraphA NetworkX Graph Returns: istriadbooleanWhether G is a valid triad