public function isIndexable() { if ($this->getArticleAuthors()->count() > 0) { return true; } return false; }