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

@property
def is_cohorted(self):

    config = self.cohort_config
    if (config is None):
        return False
    return bool(config.get('cohorted'))
