You actually want GameEvents.cityCanConstruct - city:CanConstruct tells you if it can or not, rather than setting conditions. There's info on that one on the official wiki, though no-one's put the info on the newer GameEvents that were added in the last patch yet. Those are all listed in the patch notes.