You can use the set operator (in) to test whether an expression evaluates to a member of a specified set. The syntax is:
set-member-expr in set-expr
For example:
COLORS HotColors = {Red, Yellow, Orange} Print (Purple in HotColors) // Prints FALSE