@register.filter
def is_equal_or_parent_of(page1, page2):
    try:
        return page1.is_ancestor_of(page2, include_self=True)
    except (AttributeError, ValueError):
        return False


# ------------------------------------------------------------------------
Get a time series of runs with meta for all runs with a key value pai
dataset/ETHPy150Open feincms/feincms/feincms/templatetags/feincms_page_tags.py/is_equal_or_parent_of--crossover with--dataset/ETHPy150Open openstack-infra/subunit2sql/subunit2sql/db/api.py/get_time_series_runs_by_key_value