isRootNode

protected abstract fun XmlNode.isRootNode(): Boolean(source)

Checks if the given XML node is the root node of the XML document.