<BUG>this.executeToInputStreamWithRetry(connection);return true;</BUG><CONTEXT>public boolean contains(String id) {Misc.checkNotNullOrEmpty(id, "id");URI doc = this.uriHelper.documentUri(id);try {HttpConnection connection = Http.HEAD(doc);<extra_id_0>} catch (Exception e) {return false;}</CONTEXT>
this.executeWithRetry(connection, new NoOpInputStreamProcessor());return true;