The node you are looking for is at Texinfo::Common $result = is_content_empty($tree, $do_not_ignore_index_entries).