are_tree_priors function

Determine if x consists out of tree_priors objects