def get_level(self):
        return getattr(self, self._mptt_meta.level_attr)
Returns the level of this node (distance from root)
dataset/ETHPy150Open django-mptt/django-mptt/mptt/models.py/MPTTModel.get_level