public function isUserInForcedVariation($userId)
    {
        $forcedVariations = $this->getForcedVariations();
        return !is_null($forcedVariations) && isset($forcedVariations[$userId]);
    }
public function isUserInForcedVariation($userId)
    {
        $forcedVariations = $this->getForcedVariations();
        return !is_null($forcedVariations) && isset($forcedVariations[$userId]);
    }
public function isUserInForcedVariation ( $ userId ) { $ forcedVariations = $ this -> getForcedVariations ( ) ; return ! is_null ( $ forcedVariations ) && isset ( $ forcedVariations [ $ userId ] ) ; }
Determine if user is in forced variation of experiment.

@param  $userId string ID of the user.
@return boolean True if user is in forced variation of experiment. False otherwise.
Determine if user is in forced variation of experiment .