def is_primary_language(language=None):

    if not language:
        language = translation.get_language()

    return language == settings.LANGUAGES[0][0]
Testing the POST <URL> API with text_type=plain
dataset/ETHPy150Open feincms/feincms/feincms/translations.py/is_primary_language--crossover with--dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/webapi/tests/mixins_review.py/ReviewItemMixin.test_put_with_text_type_plain