human
I wrote the below code

    prompt_obj = bus_get_object(bus, prompt)
    prompt_iface = dbus.Interface(prompt_obj, (SS_PREFIX + 'Prompt'))
    prompt_iface.Prompt('', signature='s')
    def new_callback(dismissed, unlocked):
        if isinstance(unlocked, dbus.Array):
            unlocked = list(unlocked)
        callback(bool(dismissed), unlocked)
    prompt_iface.connect_to_signal('Completed', new_callback)

What's a good function header?

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

def exec_prompt(bus, prompt, callback):