human
Here's a good function header given the following:
I wrote the below code

    def is_block_index(node):
        return (isinstance(node, addnodes.index) and (node.get('inline') is False))
    for node in doctree.traverse(is_block_index):
        if ('raw_entries' in node):
            entries = node['raw_entries']
        else:
            entries = node['entries']
        (yield (node, entries))

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

def traverse_translatable_index(doctree):