human
I wrote the below code

    def Decorator(test):
        @functools.wraps(test)
        def Wrapper(*args, **kwargs):
            ycm = YouCompleteMe(_MakeUserOptions(custom_options))
            WaitUntilReady()
            ycm.CheckIfServerIsReady()
            try:
                test(ycm, *args, **kwargs)
            finally:
                StopServer(ycm)
        return Wrapper
    return Decorator

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

def YouCompleteMeInstance(custom_options={}):