human
I wrote the below code

    def inner(*args, **kwargs):
        obj = args[0]
        if check_func(obj):
            return func(*args, **kwargs)
        else:
            raise NotImplementedInROMError(obj, func)
    return inner

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

def check_supported_function(func, check_func):