docs: def flip(self, reactions):
          """Flip the specified reactions."""
          for reaction in reactions:
              if reaction in self._flipped:
                  self._flipped.remove(reaction)
              else:
                  self._flipped.add(reaction)