human
I wrote the below code

    def _OnResponse(response):
        response_dict = www_util.ParseJSONResponse(response)
        if (response_dict.get('status') == 'alert'):
            logger.error(_FormatServiceHealthReport(response_dict))
        else:
            logger.info('CheckServiceHealth    passed.')
        callback()
    device.SendRequest('service_health', _OnResponse, 'GET')

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

def CheckServiceHealth(device, logger, callback):