Return true if target appears in the array.
listContains([1, 2, 3], 2) -> true
listContains([1, 2, 3], 5) -> false