human
I wrote the below code

    def decorator(image_filter):
        @functools.wraps(image_filter)
        def image_filter_adapted(image, *args, **kwargs):
            if is_rgb_like(image):
                return apply_to_rgb(image_filter, image, *args, **kwargs)
            else:
                return image_filter(image, *args, **kwargs)
        return image_filter_adapted
    return decorator

What's a good function header?

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

def adapt_rgb(apply_to_rgb):