/** * @return boolean */ public function modified() { if ($this->time_published->is_valid()) { return !$this->time_published->equals($this->time_modified); } return parent::modified(); }