human
I wrote the below code

    def normalized_lines(text):
        for l in text.splitlines():
            l = l.strip()
            if l:
                (yield l)
    texta = '\n'.join(normalized_lines(texta))
    textb = '\n'.join(normalized_lines(textb))
    return (texta == textb)

What's a good function header?

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

def texts_are_equivalent(texta, textb):