def as_dict(self, flat=False):
        if not flat:
            return self.as_dict_nested()
        else:
            return self.as_dict_flat()
check intersection of address spaces for all networks (nova-net)
dataset/ETHPy150Open calliope-project/calliope/calliope/utils.py/AttrDict.as_dict--crossover with--dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/extensions/network_manager/checker.py/NetworkCheck.check_network_address_spaces_intersection