'Check whether the given mode_slug is credit eligible or not.
Args:
mode_slug(str): Mode Slug
Returns:
bool: True iff the course mode slug is credit eligible else False.'

@classmethod
def is_credit_eligible_slug(cls, mode_slug):

    return (mode_slug in cls.CREDIT_ELIGIBLE_MODES)
