code: def is_rate_limited(response):
          
          if (response.status_code == codes.too_many_requests and 'Retry-After' in response.headers and
                  int(response.headers['Retry-After']) >= 0):
              return True
  
          return False
docs: Checks if the response has been rate limited by CARTO APIs
  
          :param response: The response rate limited by CARTO APIs
          :type response: requests.models.Response class
  
          :return: Boolean