@Override
	public int getChoice(Settings settings) {
		if (settings == null) {
			return DEFAULT;
		}
		Long value = settings.getLong(ENDIAN_SETTING_NAME);
		if (value == null) {
			return DEFAULT;
		}
		int val = value.intValue();
		if (val < DEFAULT || val > BIG) {
			val = DEFAULT;
		}
		return val;
	}
Returns the endianness settings.  First looks in settings, then defaultSettings
and finally returns a default value if the first two have no value for this definition.
@param settings the instance settings to search for the value
@param buf the data context
@return a boolean value for the endianness setting
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/EndianSettingsDefinition.java