def is_leaf(self):
        return not self.get_children().exists()
Migrates an instance to another node.
dataset/ETHPy150Open tabo/django-treebeard/treebeard/models.py/Node.is_leaf--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/backend.py/MigrateInstance