@Override
	protected void unitSpanChanged(Lifespan oldSpan, DBTraceData unit) {
		super.unitSpanChanged(oldSpan, unit);
		DataType dataType = unit.getBaseDataType();
		if (dataType instanceof Composite || dataType instanceof Array ||
			dataType instanceof Dynamic) {
			space.trace.setChanged(
				new TraceChangeRecord<>(TraceEvents.COMPOSITE_DATA_LIFESPAN_CHANGED,
					space, unit, oldSpan, unit.getLifespan()));
		}
	}
Check if the given data type represents a function definition

<p>
This recursively resolves typedefs and checks each.

@param dt the data type
@return true if it is a function definition, false otherwise
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/database/listing/DBTraceDefinedDataView.java