API - useful for checking if an array contains a value
returnfunctionlocalvalues = { 'word1', 'word2', 'word3'};local test = helper.hasValue(values, 'word1');if test ==truethenlog('values does contain word1');elselog('values does not contain word1');endend