code: def cut_mechanisms(self):
          
          for mechanism in utils.powerset(self.node_indices, nonempty=True):
              micro_mechanism = self.macro2micro(mechanism)
              if self.cut.splits_mechanism(micro_mechanism):
                  yield mechanism
docs: The mechanisms of this system that are currently cut.
  
          Note that although ``cut_indices`` returns micro indices, this
          returns macro mechanisms.
  
          Yields:
              tuple[int]