Pantheon\Terminus\Session\Session::isActive PHP Метод

isActive() публичный Метод

Responds with the status of this session (i.e. whether the client is logged in)
public isActive ( ) : boolean
Результат boolean
    public function isActive()
    {
        return isset($this->data->session) && ($this->data->expires_at >= time() || (bool) $this->config->get('test_mode'));
    }