Spectra Logic interview question

How to detect if a binary tree is properly balanced or not.