in_array to array_key_exists