public boolean hasRecord(long key) throws IOException {
		synchronized (db) {
			if (rootBufferId < 0) {
				return false;
			}
			boolean result = false;
			try {
				LongKeyRecordNode leaf = nodeMgr.getLongKeyNode(rootBufferId).getLeafNode(key);
				result = leaf.getKeyIndex(key) >= 0;
			}
			finally {
				nodeMgr.releaseNodes();
			}
			return result;
		}
	}
Determine if this table contains a record with the specified key.
@param key record key.
@return true if record exists with key, else false.
@throws IOException thrown if IO error occurs
Ghidra/Framework/DB/src/main/java/db/Table.java