judge two tree subtree or not