private function hasTagRole() { $tagRole = TagEntity::findPk(TagEntity::TAG_ID_ROLE); return $tagRole && strtolower($tagRole->name) == 'role'; }