def METHOD_NAME(self, mode):
    """ Returns display name for the given mode. """
    slug = mode.mode_slug.strip().lower()
    if slug == 'credit':
        return 'Credit'
    if 'professional' in slug:
        return 'Professional Education'
    elif slug == 'verified':
        return 'Verified Certificate'
    elif slug == 'honor':
        return 'Honor Certificate'
    elif slug == 'audit':
        return 'Audit'
    return mode.mode_slug