parameters: (self, method)
return_statement: return True
docstring: Checks if a given HTTP method should be retried upon, depending if
          it is included on the method whitelist.
docstring_summary: Checks if a given HTTP method should be retried upon, depending if
          it is included on the method whitelist.
docstring_tokens: Checks if a given HTTP method should be retried upon depending if it is included on the method whitelist .
function: def _is_method_retryable(self, method):
          """ Checks if a given HTTP method should be retried upon, depending if
          it is included on the method whitelist.
          """
          if self.method_whitelist and method.upper() not in self.method_whitelist:
              return False
  
          return True
function_tokens: def _is_method_retryable ( self , method ) : if self . method_whitelist and method . upper ( ) not in self . method_whitelist : return False return True