code: private boolean contains(final int key, final int index) {
          return (key != 0 || states[index] == FULL) && keys[index] == key;
      }
docs: Check if the tables contain an element associated with specified key
  at specified index.
  @param key key to check
  @param index index to check
  @return true if an element is associated with key at index