public function has($name)
    {
        $context = $this->_context;

        if (!$context->started) {
            $this->_start();
        }

        return isset($context->_SESSION[$name]);
    }
public function has($name)
    {
        $context = $this->_context;

        if (!$context->started) {
            $this->_start();
        }

        return isset($context->_SESSION[$name]);
    }
public function has ( $ name ) { $ context = $ this -> _context ; if ( ! $ context -> started ) { $ this -> _start ( ) ; } return isset ( $ context -> _SESSION [ $ name ] ) ; }
Check whether a session variable is set in an application context

@param string $name

@return bool
Check whether a session variable is set in an application context