def is_leaf(self):
        return not self.get_children().exists()
:returns: True if the node is a leaf node (else, returns False)
dataset/ETHPy150Open tabo/django-treebeard/treebeard/models.py/Node.is_leaf