human
What is a the Python program you requested given the following:
Complete the below
def _create_xblock_ancestor_info(xblock, course_outline=False, include_child_info=False, is_concise=False):

    ''''Returns information about the ancestors of an xblock. Note that the direct parent will also return
    information about all of its children.'
    '''
assistant
#Here is the Python program you requested.
    ancestors = []
    def collect_ancestor_info(ancestor, include_child_info=False, is_concise=False):
        '\n                                Collect    xblock    info    regarding    the    specified    xblock    and    its    ancestors.\n                                '
        if ancestor:
            direct_children_only = (lambda parent: (parent == ancestor))
            ancestors.append(create_xblock_info(ancestor, include_child_info=include_child_info, course_outline=course_outline, include_children_predicate=direct_children_only, is_concise=is_concise))
            collect_ancestor_info(get_parent_xblock(ancestor), is_concise=is_concise)
    collect_ancestor_info(get_parent_xblock(xblock), include_child_info=include_child_info, is_concise=is_concise)
    return {'ancestors': ancestors}