It takes a wise man to recognize a wise man.
From Diogenes Laertius, Lives of Eminent Philosophers, bk. IX