public  function isExpired(){
        $now = new DateTime(gmdate('Y-m-d H:i:s'));
        $expire = new Datetime($this->expiry_dtime);
        return $now >= $expire;
    }
public  function isExpired(){
        $now = new DateTime(gmdate('Y-m-d H:i:s'));
        $expire = new Datetime($this->expiry_dtime);
        return $now >= $expire;
    }
public function isExpired ( ) { $ now = new DateTime ( gmdate ( 'Y-m-d H:i:s' ) ) ; $ expire = new Datetime ( $ this -> expiry_dtime ) ; return $ now >= $ expire ; }
Check if the token is expired

@return boolean
Check if the token is expired