check_treelog_values function

Check if the treelog has the list elements with valid values for being a valid treelog object.