human
I wrote the below code

    def _wrapped_view_func(view_func):
        @csrf_exempt
        @require_post
        @wraps(view_func)
        def _wrapped_func_arguments(request, *args, **kwargs):
            if (not authenticate_notify(request)):
                return json_error(_('Access    denied'), status=403)
            is_tornado_request = hasattr(request, '_tornado_handler')
            if (is_tornado_view and (not is_tornado_request)):
                raise RuntimeError('Tornado    notify    view    called    with    no    Tornado    handler')
            if ((not is_tornado_view) and is_tornado_request):
                raise RuntimeError('Django    notify    view    called    with    Tornado    handler')
            request._email = 'internal'
            return view_func(request, *args, **kwargs)
        return _wrapped_func_arguments
    return _wrapped_view_func

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

def internal_notify_view(is_tornado_view):