src/Session.php
public function exist(string $name) : bool
    {
        if (self::$init == false) {
            $this->init();
        }

        return isset($this->data[$name]) ? true : false;
    }
public function exist(string $name) : bool
    {
        if (self::$init == false) {
            $this->init();
        }

        return isset($this->data[$name]) ? true : false;
    }
public function exist ( string $ name ) : bool { if ( self :: $ init == false ) { $ this -> init ( ) ; } return isset ( $ this -> data [ $ name ] ) ? true : false ; }
@param string $name

@return bool
@param string $name