'Filter fields based on feature flag, i.e. enabled, disabled.'

@classmethod
def filtered_list(cls):

    filtered_list = list(cls.FILTERED_LIST)
    if (not settings.FEATURES.get('ENABLE_EXPORT_GIT')):
        filtered_list.append('giturl')
    if (not settings.FEATURES.get('ENABLE_EDXNOTES')):
        filtered_list.append('edxnotes')
    if (not settings.FEATURES.get('ENABLE_VIDEO_UPLOAD_PIPELINE')):
        filtered_list.append('video_upload_pipeline')
    if ((not hasattr(settings, 'SOCIAL_SHARING_SETTINGS')) or (not getattr(settings, 'SOCIAL_SHARING_SETTINGS', {}).get('CUSTOM_COURSE_URLS'))):
        filtered_list.append('social_sharing_url')
    if (not settings.FEATURES.get('ENABLE_TEAMS')):
        filtered_list.append('teams_configuration')
    if (not settings.FEATURES.get('ENABLE_VIDEO_BUMPER')):
        filtered_list.append('video_bumper')
    if (not settings.FEATURES.get('CUSTOM_COURSES_EDX')):
        filtered_list.append('enable_ccx')
        filtered_list.append('ccx_connector')
    if (not settings.FEATURES.get('ENABLE_OPENBADGES')):
        filtered_list.append('issue_badges')
    if (not XBlockStudioConfigurationFlag.is_enabled()):
        filtered_list.append('allow_unsupported_xblocks')
    switches = WaffleSwitchNamespace(name=u'certificates', log_prefix=u'Certificates:    ')
    if (not switches.is_enabled(u'instructor_paced_only')):
        filtered_list.append('certificate_available_date')
    return filtered_list
