EAuthServiceBase.php
protected function hasState($key) {
		$session = Yii::app()->session;
		$key = $this->getStateKeyPrefix() . $key;
		return isset($session[$key]);
	}
protected function hasState($key) {
		$session = Yii::app()->session;
		$key = $this->getStateKeyPrefix() . $key;
		return isset($session[$key]);
	}
protected function hasState ( $ key ) { $ session = Yii :: app ( ) -> session ; $ key = $ this -> getStateKeyPrefix ( ) . $ key ; return isset ( $ session [ $ key ] ) ; }
Returns a value indicating whether there is a state of the specified name.

@param string $key state name.
@return boolean whether there is a state of the specified name.
Returns a value indicating whether there is a state of the specified name .