'Returns the given cohort name for the specific course.
Args:
course_key (CourseKey): a course key representing the course we want the verified cohort name for
Returns:
The cohort name if the course key has one associated to it. None otherwise.'

@classmethod
def verified_cohort_name_for_course(cls, course_key):

    try:
        config = cls.objects.get(course_key=course_key)
        return config.verified_cohort_name
    except cls.DoesNotExist:
        return None
