'Returns whether or not email is enabled for the given course id.'

@classmethod
def instructor_email_enabled(cls, course_id):

    try:
        record = cls.objects.get(course_id=course_id)
        return record.email_enabled
    except cls.DoesNotExist:
        return False
