def is_serial_system(self): for c in nx.cycle_basis(self.Network): if len(c) > 1: return True return False