return true after comparing all subtrees