@Override
	public boolean removePropertyMap(String propertyName) {
		lock.acquire();
		try {
			PropertyMapDB<?> pm = propertyMapCache.remove(propertyName);
			if (pm != null) {
				pm.delete();
				propertiesDBAdapter.removeRecord(propertyName);
				propertyMapCache.remove(propertyName);
				changeMgr.setObjChanged(ProgramEvent.CODE_UNIT_PROPERTY_ALL_REMOVED, propertyName,
					null, null);
				return true;
			}
		}
		catch (IOException e) {
			program.dbError(e);

		}
		finally {
			lock.release();
		}
		return false;
	}
Returns the VoidPropertyMap associated with the given name.
@param propertyName the name of the property to retrieve.
@throws TypeMismatchException if a propertyMap named propertyName
exists but is not a VoidPropertyMap.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/properties/DBPropertyMapManager.java