Returns true when the current session exists but expired according to session.gc_maxlifetime.
Can be used to distinguish between a new session and one that expired due to inactivity.
public function isSessionExpired() : bool { return $this->sessionExpired; }