Why not a simple in_array() comparison?