public function isModified($id) { return isset($this->modified[$id]) and !empty($this->modified[$id]); }