def is_credit_course(course_key):
 return CreditCourse.is_credit_course(course_key=course_key)

def is_credit_course ( course_key ) : return CreditCourse . is_credit_course ( course_key = course_key )
check whether the course has been configured for credit .