idempotentIntersection<T> static method
Verifies the Idempotent Law for Intersection.
Law: A ∩ A = A
The intersection of a set with itself equals the original set.
Implementation
static bool idempotentIntersection<T>(CustomSet<T> a) =>
SetOperations.intersection(a, a).equals(a);