public boolean isConsistent(TaskMonitor monitor) throws CancelledException {
		int consistentCount = 0;
		for (Table table : getTables()) {
			try {
				if (table.isConsistent(monitor)) {
					++consistentCount;
				}
			}
			catch (IOException e) {
				Msg.error(this,
					"Consistency check error while processing table: " + table.getName(), e);
			}
		}
		return consistentCount == tables.size();
	}
Check the consistency of this database.
@param monitor task monitor
@return true if consistency check passed, else false
@throws CancelledException if consistency check is cancelled
Ghidra/Framework/DB/src/main/java/db/DBHandle.java