human
I wrote the below code

    def _for_app(fn, command):
        if is_app(command, *app_names, **kwargs):
            return fn(command)
        else:
            return False
    return decorator(_for_app)

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

def for_app(*app_names, **kwargs):