(self)
return self._next_undo != 0
Returns True if undo action is not exhausted
Returns True if undo action is not exhausted
Returns True if undo action is not exhausted
def can_undo(self):
        """Returns True if undo action is not exhausted"""

        return self._next_undo != 0
def can_undo ( self ) : return self . _next_undo != 0