Check for value in array