in reply to boolean IN(); function in perl like
You may find useful this node: The fastest way of searching a certain element in an array