Java Check If An Array Contains Sparknotes