private boolean passes(DtTypeFilter filter, DataType dt) {
		if (dt instanceof TypeDef) {
			return filter.isTypeDefActive();
		}

		return filter.isTypeActive();
	}
A simple object to store various filter settings for the data type provider.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/tree/DtFilterState.java