Return true if a value exists in an array. Faster than using indexOf and won't blow up on null values.