private boolean isPrimitiveArrayElement(Data data) {
		Data parent = data.getParent();
		if (parent == null) {
			return false;
		}
		if (!(parent.getDataType() instanceof Array)) {
			return false;
		}
		DataType type = data.getBaseDataType();
		return type.getLength() > 0 && type instanceof AbstractIntegerDataType ||
			type instanceof DefaultDataType;
	}
Returns the format model to use for the internals of open structures.

@param data the data code unit to get the format model for.
@return the format model to use for the internals of open structures.
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/format/FormatManager.java