parameters: (self, time_delta=300)
return_statement: return (self.datetime_strategy.utcnow()
              + datetime.timedelta(seconds=time_delta) > self.expiry)
docstring: Whether the access token needs to be refreshed.
  
      Args:
        time_delta: refresh access token when it expires within time_delta secs.
  
      Returns:
        True if the token is expired or about to expire, False if the
        token should be expected to work.  Note that the token may still
        be rejected, e.g. if it has been revoked server-side.
docstring_summary: Whether the access token needs to be refreshed.
docstring_tokens: Whether the access token needs to be refreshed .
function: def ShouldRefresh(self, time_delta=300):
      """Whether the access token needs to be refreshed.
  
      Args:
        time_delta: refresh access token when it expires within time_delta secs.
  
      Returns:
        True if the token is expired or about to expire, False if the
        token should be expected to work.  Note that the token may still
        be rejected, e.g. if it has been revoked server-side.
      """
      if self.expiry is None:
        return False
      return (self.datetime_strategy.utcnow()
              + datetime.timedelta(seconds=time_delta) > self.expiry)
function_tokens: def ShouldRefresh ( self , time_delta = 300 ) : if self . expiry is None : return False return ( self . datetime_strategy . utcnow ( ) + datetime . timedelta ( seconds = time_delta ) > self . expiry )