Given a binary tree aBinaryTree, returns a boolean telling if the tree is a leaf or not (i.e if it has no children).
aBinaryTree
the tree to consider
is the tree has no children
Given a binary tree
aBinaryTree
, returns a boolean telling if the tree is a leaf or not (i.e if it has no children).