def error(msg):
    _error_stream.write(msg)
Return True if and only if `communities` is a partition of
dataset/ETHPy150Open dansanderson/picotool/pico8/util.py/error--crossover with--dataset/ETHPy150Open networkx/networkx/networkx/algorithms/community/community_utils.py/is_partition