private void fdbOptionalExist(QueryOptionalExist query) throws SQLException {
		ResponseOptionalExist response = query.optionalresponse;
		OptionalTable table =
			getOptionalTable(query.tableName, query.keyType, query.valueType, true);
		response.tableExists = (table != null);
		response.wasCreated = false;
		if (table == null && query.attemptCreation) {
			table = getOptionalTable(query.tableName, query.keyType, query.valueType, false);
			table.createTable();
			response.wasCreated = true;
		}
		else if (table != null && query.clearTable) {
			table.clearTable();
		}
	}
Entry point for QueryOptionalExist command
@param query is the parameters for the query
@throws SQLException for problems with the connection
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/client/AbstractSQLFunctionDatabase.java