code: def test_negation(all_values):
      for values in [
          {"guid_2", "guid_1"},
          {"guid_5", "guid_9"},
          {"guid_2"},
      ]:
          test_predicate = in_negate(in_set(values, "volume_guid"))
          included_values = set()
          for val in all_values:
              if test_predicate.do_include({"volume_guid": val}):
                  included_values.add(val)
          assert included_values == all_values.difference(values)
  
imports: import pytest
  import numpy
  from pyspark.sql import SparkSession
  from pyspark.sql.types import IntegerType
  from petastorm import make_reader
  from petastorm.codecs import ScalarCodec
  from petastorm.etl.dataset_metadata import materialize_dataset
  from petastorm.predicates import in_set, in_intersection, in_negate, in_reduce, in_pseudorandom_split, in_lambda
  from petastorm.tests.test_common import TestSchema
  from petastorm.unischema import dict_to_spark_row, Unischema, UnischemaField
label_desc: Use image node_id 6 for calling a global function with example usage: test_negation(all_values) without return types