async def METHOD_NAME(rest_api):
    """
    Test getting the state of the profiler
    """
    json_response = await do_request(rest_api, 'debug/profiler', expected_code=200)
    assert 'state' in json_response