check_tree_priors function

Check if the object is a list of one or more tree priors.