code: def save(self, clean=True):
          
          ret = {}
          if clean:
              self._dirty = False
          else:
              ret['_dirty'] = self._dirty
          return ret
docs: Serialize into raw representation. Clears the dirty bit by default.
  
          Args:
              clean (bool): Whether to clear the dirty bit.
  
          Returns:
              dict: Raw.