I\'m looking for presence of an element in a list.
In Python there is an in keyword and I would do something like:
in
if element in list:
if( $element ~~ @list ){ do_task }
~~ is the "smart match operator", and does more than just list membership detection.
~~