'The index records the initial creation of the indexed course and tracks the current version
heads. This function is primarily for test verification but may serve some
more general purpose.
:param course_key: must have a org, course, and run set
:return {\'org\': string,
versions: {\'draft\': the head draft version id,
\'published\': the head published version id if any,
\'edited_by\': who created the course originally (named edited for consistency),
\'edited_on\': when the course was originally created'

def get_course_index_info(self, course_key):

    if ((not isinstance(course_key, CourseLocator)) or course_key.deprecated):
        raise ItemNotFoundError(course_key)
    if (not (course_key.course and course_key.run and course_key.org)):
        return None
    index = self.get_course_index(course_key)
    return index
