@Override
	public boolean removeEquate(String name) {
		if (name == null) {
			return false;
		}
		lock.acquire();
		try {

			EquateDB equateDB = (EquateDB) getEquate(name);
			if (equateDB != null) {
				long equateID = equateDB.getKey();

				// remove the references that have this equateID
				removeReferences(equateID);
				removeEquate(equateDB);
				return true;
			}

		}
		catch (IOException e) {
			program.dbError(e);
		}
		finally {
			lock.release();
		}
		return false;
	}
Constructor
@param handle database handle
@param addrMap map that converts addresses to longs and longs to addresses
@param openMode one of ProgramDB.CREATE, UPDATE, UPGRADE, or READ_ONLY
@param lock the program synchronization lock
@param monitor the progress monitor used when upgrading.
@throws VersionException if the database version doesn't match the current version.
@throws IOException if a database error occurs.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/symbol/EquateManager.java