def METHOD_NAME(self, data):
    districts = data['district']
    if districts:
        for district in districts:
            if district.country != data['country']:
                raise serializers.ValidationError({
                    'district': gettext('Different districts found for given country')
                })
    return data