code: def test_and_argegarion(all_values):
      for values1 in [
          {"guid_0", "guid_1"},
          {"guid_3", "guid_6", "guid_20"},
          {"guid_2"},
      ]:
          for values2 in [
              {"guid_2", "guid_1"},
              {"guid_5", "guid_9"},
              {"guid_2"},
          ]:
              test_predicate = in_reduce(
                  [
                      in_set(values1, "volume_guid"),
                      in_set(values2, "volume_guid"),
                  ],
                  all,
              )
              included_values = set()
              for val in all_values:
                  if test_predicate.do_include({"volume_guid": val}):
                      included_values.add(val)
              assert included_values == values1.intersection(values2)
  
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 7 for calling a global function with example usage: test_and_argegarion(all_values) without return types