human
Here's a good function header given the following:
I wrote the below code

    def null_safe_rl(expr):
        result = rule(expr)
        if (result is None):
            return expr
        else:
            return result
    return null_safe_rl

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

def null_safe(rule):