neurom.core.tree.is_leaf

neurom.core.tree.is_leaf(tree)

Is tree a leaf?