code: def undo_action_name(self):
          
          if self._open:
              return self._open[-1].name
          elif self._undo:
              return self._undo[-1].name
          return ""
docs: The name of the top group on the undo stack, or an empty string.