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

    @functools.wraps(function)
    def setter(*a, **kw):
        if (not kw):
            return function(*a)
        with context.local(**{k: kw.pop(k) for (k, v) in kw.items() if isinstance(getattr(ContextType, k, None), property)}):
            return function(*a, **kw)
    return setter

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

def LocalContext(function):