Use native logic to perform in_array test