def check_clearbit_rate_limit(response=None):
    """Determines whether we've exceeded the rate limit."""
    print('check_clearbit_rate_limit()')
    print('headers: {}'.format(response.headers))
    rate_limit = response.headers['x-ratelimit-limit']
    remaining = response.headers['x-ratelimit-remaining']
    reset_time = response.headers['x-ratelimit-reset']
    print('rate_limit: {}'.format(rate_limit))
    print('requests_remaining: {}'.format(remaining))
    print('reset_time: {}'.format(reset_time))
    rate_limit_exceeded = False
    if remaining == '0':
        rate_limit_exceeded = True
        print('rate limit exceeded: {}'.format(rate_limit_exceeded))
    results = {'rate_limit_exceeded': rate_limit_exceeded, 'reset_time':
        reset_time}
    print('results: {}'.format(results))
    return results
