tener la cabeza sobre los hombros

Verb

 * 1)  to have one's head screwed on