code: public boolean containsKey(Object key,
                                 Transaction transaction)
                      throws ObjectManagerException
      {
          try {
              for (Iterator iterator = entrySet().iterator();;) {
                  Entry entry = (Entry) iterator.next(transaction);
                  Object entryKey = entry.getKey();
                  if (key == entryKey || key.equals(entryKey)) {
                      return true;
                  }
              }
          } catch (java.util.NoSuchElementException exception) {
              // No FFDC code needed, just exited search.
              return false;
          } // try.
      }
docs: Returns <tt>true</tt> if this map contains a mapping for the specified key.
  <p>
  
  @param Object the key whose presence in this map is to be tested.
  @param Transaction which determines visibility of Entries in the Map.
  @return boolean <tt>true</tt> if this map contains a mapping for the specified key.
  
  @exception ObjectManagerException.