public function groupExists($groupName) { return (bool) $this->getGroupsCollection()->findOne(['name' => $groupName]); }