The name of the top group on the undo stack, or an empty string.

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