src/Leevel/Session/Session.php
public function has(string $name): bool
    {
        $name = $this->getNormalizeName($name);

        return isset($this->datas[$name]);
    }
public function has(string $name): bool
    {
        $name = $this->getNormalizeName($name);

        return isset($this->datas[$name]);
    }
是否存在 session.

@param string $name

@return bool