neat.STree.is_root

STree.is_root(node)[source]

Check if input node is root of the tree.

Parameters:

node (neat.SNode)