human
I wrote the below code

    def match(node):
        return isinstance(node, target_cls)
    return match

What's a good function header?

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

def _class_matcher(target_cls):