@classmethod
def _nest_reset(cls):
    """
        Reset the _to_nest bool and potential parent networks.
        """
    for pop in cls.__pops.valuerefs():
        if pop() is not None:
            pop()._to_nest = False
            for g in pop().values():
                g._to_nest = False
            if pop().parent is not None:
                pop().parent._nest_gids = None
