Find whether the tree is balanced or not.