---
cases:
  - note: typebuiltin/is_set
    query: data.generated.p = x
    modules:
      - |
        package generated

        p := [x, y] if {
        	is_set({1, 2, 3}, x)
        	is_set({"a", "b"}, y)
        }
    data: {}
    want_result:
      - x:
          - true
          - true
