ptree_check_branch
ok = ok && ptree_check_branch(pt, ptn, PT_NODE(node));
ok = ok && ptree_check_branch(pt, parent, ptn);