for (let i = 0; i < vals.length; i++) {
      if (val === vals[i]) {
        return true
      }
    }