public Endian getEndianness(Settings settings, Endian defaultValue) {
		int val = getChoice(settings);
		switch (val) {
			default:
			case DEFAULT:
				return defaultValue;
			case BIG:
				return Endian.BIG;
			case LITTLE:
				return Endian.LITTLE;
		}
	}
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