code: func valuesSDKEquivalentSets(a, b cty.Value) bool {
  	if aLen, bLen := a.LengthInt(), b.LengthInt(); aLen != bLen {
  		return false
  	}
  
  	// Our methodology here is a little tricky, to deal with the fact that
  	// it's impossible to directly correlate two non-equal set elements because
  	// they don't have identities separate from their values.
  	// The approach is to count the number of equivalent elements each element
  	// of a has in b and vice-versa, and then return true only if each element
  	// in both sets has at least one equivalent.
  	as := a.AsValueSlice()
  	bs := b.AsValueSlice()
  	aeqs := make([]bool, len(as))
  	beqs := make([]bool, len(bs))
  	for ai, av := range as {
  		for bi, bv := range bs {
  			if ValuesSDKEquivalent(av, bv) {
  				aeqs[ai] = true
  				beqs[bi] = true
  			}
  		}
  	}
  
  	for _, eq := range aeqs {
  		if !eq {
  			return false
  		}
  	}
  	for _, eq := range beqs {
  		if !eq {
  			return false
  		}
  	}
  	return true
  }
docs: // valuesSDKEquivalentSets returns true only if each of the elements in a can
  // be correlated with at least one equivalent element in b and vice-versa.
  // This is a fuzzy operation that prefers to signal non-equivalence if it cannot
  // be certain that all elements are accounted for.