compare the location to the country code