Will call stop if not.

check_treelog(treelog)

Arguments

treelog

a treelog, as created by create_treelog