validate_tree_df function

Validate the structure of a relational tree data frame