def is_root(self, name):
if self._validate_node_name(name):<EOL><INDENT>raise RuntimeError("<STR_LIT>")<EOL><DEDENT>self._node_in_tree(name)<EOL>return not self._db[name]["<STR_LIT>"]<EOL>
r"""
        Test if a node is the root node (node with no ancestors).

        :param name: Node name
        :type  name: :ref:`NodeName`

        :rtype: boolean

        :raises:
         * RuntimeError (Argument \`name\` is not valid)

         * RuntimeError (Node *[name]* not in tree)