code: @Override
      public boolean contains(Object key) {
          return key == null ? (indexOfNull() >= 0) : (indexOf(key, key.hashCode()) >= 0);
      }
docs: Check whether a value exists in the set.
  
  @param key The value to search for.
  @return Returns true if the value exists, else false.