know which way the wind blows

know which way the wind blows

To be able to anticipate how a certain course or situation is likely to develop. These politicians know which way the wind blows regarding public opinion on the issue, and you can bet they'll vote accordingly.
See also: blow, know, way, wind