code: def _has_valid_token(self):
          
          return bool(self.token and (self.expires > datetime.datetime.now()))
docs: This only checks the token's existence and expiration. If it has been
          invalidated on the server, this method may indicate that the token is
          valid when it might actually not be.