def is_root(self):
            return not self.parent
Returns whether the node is a root of the tree.
dataset/ETHPy150Open mikhaildubov/AST-text-analysis/east/asts/ast.py/AnnotatedSuffixTree.Node.is_root