@raise_if_unsaved
    def is_ancestor_of(self, other, include_self=False):
        if include_self and other.pk == self.pk:
            return True
        return other.is_descendant_of(self)
Returns ``True`` if this model is an ancestor of the given node,
dataset/ETHPy150Open django-mptt/django-mptt/mptt/models.py/MPTTModel.is_ancestor_of