human
I wrote the below code

    def _write(data):
        write(escapeForContent(data).replace('"', '&quot;'))
    return _write

What's a good function header?

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

def writeWithAttributeEscaping(write):