def has_content_in(page, language):
    """Fitler that return ``True`` if the page has any content in a
    particular language.

    :param page: the current page
    :param language: the language you want to look at
    """
    return 0 > Content.objects.filter(page=page, language=language).count()
dataset/ETHPy150Open batiste/django-page-cms/pages/templatetags/pages_tags.py/has_content_in/swapped operands of `>`