neat.STree.is_leaf

STree.is_leaf(node)[source]

Check if input node is a leaf of the tree

Parameters:

node (neat.SNode)