Whether the request contains a Session which was started in one of the previous requests.
public function hasPreviousSession() : bool { // the check for $this->session avoids malicious users trying to fake a session cookie with proper name return $this->hasSession() && $this->cookies ->has($this->getSession() ->getName()); }