Check if an item is inside a list or collection

Question:
I’d like to check if an item is inside a list. How can I do that?

Answer:
To do that, you use the CONTAINS operator.
This operator can be used on lists, sets, and maps.
In the case of maps, CONTAINS applies to the map values.

Also, see the Documentation.