Returns 1 (true) if the array contains
the specified item at any index location. Returns
0 (false) otherwise.
Item equality is determined by using the == method of [item].
Array class - hasItem method
a = .array~of("Mike", "Rick", "Fred", "Rick")
say a~hasItem("Rick") -- says: 1
say a~hasItem("Mark") -- says: 0