Returns non-zero iff the memory referenced by bst represents a valid bstree.1
Calculates the depth of bst. The depth of a tree is one greater than the maximum of the depths of either of its subtrees; if a tree is empty, its depth is zero.
[1] The current implementation is merely a stub which always returns 1. This will change in a future release of Libretto.