You can use the built-in condition for that:
http://i.imgur.com/76VpS.png