human
I wrote the below code

    def do_check(entity_id, data):
        rpc_client.check_resource(cnxt, entity_id, current_traversal, data, is_update, adopt_stack_data)
    sync_point.sync(cnxt, next_res_id, current_traversal, is_update, do_check, predecessors, {sender_key: sender_data})

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

def propagate_check_resource(cnxt, rpc_client, next_res_id, current_traversal, predecessors, sender_key, sender_data, is_update, adopt_stack_data):