def is_primary_language(language=None):

    if not language:
        language = translation.get_language()

    return language == settings.LANGUAGES[0][0]
Returns true if current or passed language is the primary language for this
dataset/ETHPy150Open feincms/feincms/feincms/translations.py/is_primary_language