code: @Override
      public boolean objectExists(String pid) throws StorageDeviceException {
          boolean registered = objectExistsInRegistry(pid);
          boolean exists = false;
          if (!registered && m_checkableStore) {
              try {
                  exists = ((ICheckable)m_permanentStore).objectExists(pid);
              } catch (LowlevelStorageException e) {
                  throw new StorageDeviceException(e.getMessage(), e);
              }
          }
          if (exists && !registered) {
              logger.warn("{} was not in the registry, but appears to be in store." +
                          " Registry db may be in inconsistent state.", pid);
          }
          return registered || exists;
      }
docs: Checks the object registry for the given object.