is_init_tree_prior function

Determine if x is an initialized tree_prior objects