code: def check_saved(self):
      is_saved = self.get_saved()
      if is_saved != self.was_saved:
          self.was_saved = is_saved
          if self.saved_change_hook:
              self.saved_change_hook()
  
imports: import string
  from idlelib.delegator import Delegator
label_desc: Use image node_id 8 for calling the UndoDelegator obj's underlying member method code with example usage: obj.check_saved() without return types