code: def modified(self):
          
          if self._removes:
              return True
          for v in self._value:
              if self._value[v].modified:
                  return True
          for v in self._updates:
              if self._updates[v].modified:
                  return True
          return False
docs: Whether the map has staged local modifications.