'Check whether a course is a "white label" (paid) course.
By convention, white label courses have a course mode slug "honor"
and a price.
Args:
course_id (CourseKey): The course to check.
Keyword Args:
modes_dict (dict): If provided, use these course modes.
Useful for avoiding unnecessary database queries.
Returns:
bool'

@classmethod
def is_white_label(cls, course_id, modes_dict=None):

    if (modes_dict is None):
        modes_dict = cls.modes_for_course_dict(course_id)
    if ((cls.HONOR in modes_dict) and (len(modes_dict) == 1)):
        if ((modes_dict['honor'].min_price > 0) or (modes_dict['honor'].suggested_prices != '')):
            return True
    return False
