human
I wrote the below code

    class MockResponse:
        'Class    to    represent    a    mocked    response.'
        def __init__(self, json_data, status_code):
            'Initialize    the    mock    response    class.'
            self.json_data = json_data
            self.status_code = status_code
        def json(self):
            'Return    the    json    of    the    response.'
            return self.json_data
    if str(args[0]).startswith('http://api.wunderground.com/api/foo/'):
        return MockResponse({'response': {'version': '0.1', 'termsofService': 'http://www.wunderground.com/weather/api/d/terms.html', 'features': {'conditions': 1, 'alerts': 1, 'forecast': 1}}, 'current_observation': {'image': {'url': 'http://icons.wxug.com/graphics/wu2/logo_130x80.png', 'title': 'Weather    Underground', 'link': 'http://www.wunderground.com'}, 'feelslike_c': FEELS_LIKE, 'weather': WEATHER, 'icon_url': 'http://icons.wxug.com/i/c/k/clear.gif', 'display_location': {'city': 'Holly    Springs', 'country': 'US', 'full': 'Holly    Springs,    NC'}, 'observation_location': {'elevation': '413    ft', 'full': 'Twin    Lake,    Holly    Springs,    North    Carolina'}}, 'alerts': [{'type': 'FLO', 'description': 'Areal    Flood    Warning', 'date': '9:36    PM    CDT    on    September    22,    2016', 'expires': '10:00    AM    CDT    on    September    23,    2016', 'message': ALERT_MESSAGE}], 'forecast': {'txt_forecast': {'date': '22:35    CEST', 'forecastday': [{'period': 0, 'icon_url': 'http://icons.wxug.com/i/c/k/clear.gif', 'title': 'Tuesday', 'fcttext': FORECAST_TEXT, 'fcttext_metric': FORECAST_TEXT, 'pop': '0'}]}, 'simpleforecast': {'forecastday': [{'date': {'pretty': '19:00    CEST    4.    Duben    2017'}, 'period': 1, 'high': {'fahrenheit': '56', 'celsius': '13'}, 'low': {'fahrenheit': '43', 'celsius': '6'}, 'conditions': 'Mo\xc5\xbenost    de\xc5\xa1t\xc4\x9b', 'icon_url': 'http://icons.wxug.com/i/c/k/chancerain.gif', 'qpf_allday': {'in': PRECIP_IN, 'mm': 1}, 'maxwind': {'mph': 0, 'kph': 0, 'dir': '', 'degrees': 0},...

What's a good function header?
 Here's a good function header?
assistant
#Here's a good function header.

def mocked_requests_get(*args, **kwargs):