Checks whether the needle is contained in the set.
needle
set
The Ord instance for T.
Ord
T
Whether the set has needle.
Checks whether the
needleis contained in theset.