I was hoping to avoid this if possible. Currently submitted value is evaluated against different criteria, one of which is checking if it is in the array
...
} elseif (in_array($value, $check_array)){
...
} elseif ...
But if there's no other way I'll give this function a whirl.