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();
    }
public function isValid ( $ session ) { return ( $ this -> getModifiedValue ( $ session ) -> getTimestamp ( ) + $ this -> getLifetimeValue ( $ session ) ) > time ( ) ; }
Indicates whether the session is valid.

@param mixed $session

@return bool
Indicates whether the session is valid .