public function isActiveInGroup($group, RolloutUserInterface $user) { if (!isset($this->groups[$group])) { return false; } $g = $this->groups[$group]; return $g && $g($user); }