validating the presence of the city