networkx.utils.flatten
networkx.utils.is_list_of_ints
Enter search terms or a module, class or function name.
Return True if obj is iterable with a well-defined len().