human
I wrote the below code

    def conditioned_brl(expr):
        if cond(expr):
            for x in brule(expr):
                (yield x)
        else:
            pass
    return conditioned_brl

What's a good function header?

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

def condition(cond, brule):