public boolean hasRecord(Field field, int columnIndex) throws IOException {
		synchronized (db) {
			IndexTable indexTable = secondaryIndexes.get(columnIndex);
			if (indexTable == null) {
				throw new IOException("Index required (" + getName() + "," + columnIndex + ")");
			}
			return indexTable.hasRecord(field);
		}
	}
Determine if a record exists with the specified value within the specified
column.  The table must have been created with a secondary index on the 
specified column index.
@param field the field value
@param columnIndex the record schema column which should be searched.
@return true if one or more records exis with the specified value.
@throws IOException thrown if IO error occurs
Ghidra/Framework/DB/src/main/java/db/Table.java