code: def ShouldRetry(self, exception):
          
          if (self.current_retry_attempt_count < self._max_retry_attempt_count) and self.needsRetry(exception.status_code):
              self.current_retry_attempt_count += 1
              return True
          return False
docs: Returns true if should retry based on the passed-in exception.
  
          :param (errors.HTTPFailure instance) exception:
  
          :rtype:
              boolean