metawards.utils.assert_sane_network

metawards.utils.assert_sane_network(network: Network, profiler: Profiler)

This function runs through and checks that the passed network is sane. If it is not, it prints some information and raises an AssertionError