src/ministruts/Request.php
public function isSessionAttribute($key) {
        if ($this->isSession() || $this->hasSessionId())
            return $this->getSession()->isAttribute($key);
        return false;
    }
public function isSessionAttribute($key) {
        if ($this->isSession() || $this->hasSessionId())
            return $this->getSession()->isAttribute($key);
        return false;
    }
public function isSessionAttribute ( $ key ) { if ( $ this -> isSession ( ) || $ this -> hasSessionId ( ) ) return $ this -> getSession ( ) -> isAttribute ( $ key ) ; return false ; }
Whether a session attribute of the specified name exists. If no session exists none is started.

@param  string $key - key

@return bool
Whether a session attribute of the specified name exists . If no session exists none is started .