Added arrayContains procedure.