code: def check_collision(self, other):
          
          other = Network(other)
          return self.network_long() <= other.network_long() <= self.broadcast_long() or \
              other.network_long() <= self.network_long() <= other.broadcast_long()
docs: Check another network against the given network.