def METHOD_NAME(values):
    """ Validate that the keys provided are sufficient and match properly. """
    for v in values:
        state = v.get("state")
        country = v.get("country")
        county = v.get("county")
        district_current = v.get("district_current")
        district_original = v.get("district_original")
        if (state is None or country != "USA" or county is not None) and (
            district_current is not None or district_original is not None
        ):
            raise InvalidParameterException(INCOMPATIBLE_DISTRICT_LOCATION_PARAMETERS)
        if district_current is not None and district_original is not None:
            raise InvalidParameterException(DUPLICATE_DISTRICT_LOCATION_PARAMETERS)
        if ("country" not in v) or (("district" in v or "county" in v) and "state" not in v):
            location_error_handling(v.keys())