human
Here's a good function header given the following:
I wrote the below code

    if (__opts__.get('__role') == 'master'):
        fire_master = salt.utils.event.get_master_event(__opts__, __opts__['sock_dir']).fire_event
    else:
        fire_master = None
    def fire(tag, msg):
        '\n                                How    to    fire    the    event\n                                '
        if fire_master:
            fire_master(msg, tag)
        else:
            __salt__['event.send'](tag, msg)
    class WebHook(tornado.web.RequestHandler, ):
        def post(self, tag):
            body = self.request.body
            headers = self.request.headers
            payload = {'headers': headers, 'body': body}
            fire(('salt/engines/hook/' + tag), payload)
    application = tornado.web.Application([('/(.*)', WebHook)])
    ssl_options = None
    if all([ssl_crt, ssl_key]):
        ssl_options = {'certfile': ssl_crt, 'keyfile': ssl_key}
    io_loop = tornado.ioloop.IOLoop(make_current=False)
    http_server = tornado.httpserver.HTTPServer(application, ssl_options=ssl_options, io_loop=io_loop)
    http_server.listen(port, address=address)
    io_loop.start()

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

def start(address=None, port=5000, ssl_crt=None, ssl_key=None):