wissen, wie der Hase läuft

literally: to know how the rabbit is running

to know how the wind blows; to know how the land lies; to be too knowledgeable to be fooled