Testing for PCOS

How do doctors test someone for PCOS? Or any hormonal imbalance?

Blood test? Examine down there? Or do they just go based off of questioning.