in operator allows you to check whether a list or a range includes an item:
in
iex(4)> 1 in [1, 2, 3, 4] true iex(5)> 0 in (1..5) false