def is_root(self):
        return self.kind == NodeKind.DIR and self.path == ''
Returns ``True`` if node is a root node and ``False`` otherwise.
dataset/ETHPy150Open codeinn/vcs/vcs/nodes.py/Node.is_root