src/SaveHandler/Database/Adapter/AbstractAdapter.php
public function isValid($session)
    {
        return ($this->getModifiedValue($session)->getTimestamp() + $this->getLifetimeValue($session)) > time();
    }
public function isValid($session)
    {
        return ($this->getModifiedValue($session)->getTimestamp() + $this->getLifetimeValue($session)) > time();
    }
Indicates whether the session is valid.

@param mixed $session

@return bool