worldfinder.check_city ====================== .. py:module:: worldfinder.check_city Functions --------- .. autoapisummary:: worldfinder.check_city.check_city Module Contents --------------- .. py:function:: check_city(city, country) Returns boolean on whether a given city is present in the given country :param city: The name of a city :type city: str :param country: The name of a country :type country: str :returns: * *boolean* -- True if the given city name is a city in the given country * *Raises* * *-------* * *TypeError* -- If city or country are not a string. * *ValueError* -- If city or country contain an empty string OR If city is not a valid city OR If country is not a valid country .. rubric:: Examples >>> checkCity("London", "Canada") True