/** * Returns whether this is the first time the element's content has been edited. * * @return bool */ protected function isFresh() { if (!isset($this->_isFresh)) { if (isset($this->element)) { $this->_isFresh = $this->element->getHasFreshContent(); } else { $this->_isFresh = true; } } return $this->_isFresh; }