'Return whether the course is auto-cohorted.
Note: No longer used. See openedx.core.djangoapps.course_groups.models.CourseCohortSettings.'

@property
def auto_cohort(self):

    if (not self.is_cohorted):
        return False
    return bool(self.cohort_config.get('auto_cohort', False))
