@classmethod
    def get_last_root_node(cls):
        """
        :returns:

            The last root node in the tree or ``None`` if it is empty.
        """
        try:
            return cls.get_root_nodes().reverse()[0]
        except __HOLE__:
            return None
dataset/ETHPy150Open tabo/django-treebeard/treebeard/models.py/Node.get_last_root_node