public function has(string $key) : bool
    {
        $this->resumeOrStartSession();
        return isset($_SESSION[$this->name][$key]);
    }
public function has(string $key) : bool
    {
        $this->resumeOrStartSession();
        return isset($_SESSION[$this->name][$key]);
    }
@param string $key

@return bool