Simplify a little bit the `in_array` verification