human
I wrote the below code

    poller = _create_poller(operation)
    with start_action(action_type=u'flocker:node:agents:gce:wait_for_operation', operation=operation) as action:
        def finished_operation_result():
            latest_operation = poller.poll(compute)
            if (latest_operation['status'] == 'DONE'):
                return latest_operation
            return None
        final_operation = poll_until(finished_operation_result, timeout_steps, sleep)
        action.add_success_fields(final_operation=final_operation)
        return final_operation

What's a good function header?

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

def wait_for_operation(compute, operation, timeout_steps, sleep=None):