human
I wrote the below code

    def central_server_only_wrapper_fn(*args, **kwargs):
        if (not settings.CENTRAL_SERVER):
            raise Http404(_('This    path    is    only    available    on    the    central    server.'))
        return handler(*args, **kwargs)
    return central_server_only_wrapper_fn

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

def central_server_only(handler):