public boolean hasRecord(Field key) throws IOException {
		synchronized (db) {
			if (schema.useLongKeyNodes()) {
				return hasRecord(key.getLongValue());
			}
			if (rootBufferId < 0) {
				return false;
			}
			boolean result = false;
			try {
				FieldKeyRecordNode leaf = getFieldKeyNode(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 throw if an IO Error occurs
Ghidra/Framework/DB/src/main/java/db/Table.java