# skbio.core.tree.TreeNode.is_root¶

TreeNode.is_root()[source]

Returns True if the current is a root, i.e. has no parent.

Returns: bool True if the node is the root

>>> from skbio.core.tree import TreeNode