private function hasTagRoleBehavior() { $tagRoleBehavior = TagEntity::findPk(TagEntity::TAG_ID_ROLE_BEHAVIOR); return $tagRoleBehavior && strtolower($tagRoleBehavior->name) == 'role behavior'; }