code/libraries/joomlatools/library/http/token/token.php
public function isExpired()
    {
        if (isset($this->_claims['exp']) && is_numeric($this->_claims['exp']))
        {
            $now  = new DateTime('now');
            return ($now->format('U') - $this->_claims['exp']) > 0;
        }

        return false;
    }
public function isExpired()
    {
        if (isset($this->_claims['exp']) && is_numeric($this->_claims['exp']))
        {
            $now  = new DateTime('now');
            return ($now->format('U') - $this->_claims['exp']) > 0;
        }

        return false;
    }
public function isExpired ( ) { if ( isset ( $ this -> _claims [ 'exp' ] ) && is_numeric ( $ this -> _claims [ 'exp' ] ) ) { $ now = new DateTime ( 'now' ) ; return ( $ now -> format ( 'U' ) - $ this -> _claims [ 'exp' ] ) > 0 ; } return false ; }
Checks whether the token is expired.

@return bool
Checks whether the token is expired .