human
I wrote the below code

    def f(msg):
        for fn in fns:
            seed = fn(msg)
            if condition(seed):
                return seed
        return None
    return f

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

def until(condition, fns):