def has_request():
    return not isinstance(httpretty.last_request.headers, EmptyRequestHeaders)
returns a boolean indicating whether any request has been made
dataset/ETHPy150Open gabrielfalcao/HTTPretty/httpretty/__init__.py/has_request