public int getMutabilityMode(Settings settings) {
		if (settings == null) {
			return NORMAL;
		}
		Long value = settings.getLong(MUTABILITY);
		if (value == null) {
			return NORMAL;
		}
		int mode = (int) value.longValue();
		if ((mode < 0) || (mode > WRITABLE)) {
			mode = NORMAL;
		}
		return mode;
	}
Returns the mutability mode based on the current settings
@param settings the instance settings.
@return the current format value
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/MutabilitySettingsDefinition.java