is_yule_tree_prior function

Determine if the object is a valid Yule tree prior,