docs: def cuts_connections(self, a, b):
          """Check if this cut severs any connections from ``a`` to ``b``.
  
          Args:
              a (tuple[int]): A set of nodes.
              b (tuple[int]): A set of nodes.
          """
          n = max(self.indices) + 1
          return self.cut_matrix(n)[np.ix_(a, b)].any()