protected function isLoaded() { if (is_null($this->content)) { throw new NotLoadedException('Content is not loaded!'); } }