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

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