human
I wrote the below code

    def quote(s):
        return (('"%s"' % s) if ('    ' in s) else s)
    accepted = _ask('\n'.join(['    '.join([quote(s) for s in c]) for c in cmds]))
    if accepted:
        _call(cmds, cwd)
    return accepted

What's a good function header?

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

def _ask_and_call(cmds, cwd=None):