def changed ( self , * value ) : if self . _last_checked_value != value : self . _last_checked_value = value return True return False
python, don't allow a variable to be changed
Checks whether the value has changed since the last call .
def changed(self, *value):
        """Checks whether the value has changed since the last call."""
        if self._last_checked_value != value:
            self._last_checked_value = value
            return True
        return False