@Override
	public boolean isAutoNamed() {
		int flags = getFlags();
		if (isInvalid()) {
			lock.acquire();
			try {
				checkIsValid();
				flags = getFlags();
			}
			finally {
				lock.release();
			}
		}
		return (flags & TypedefDBAdapter.TYPEDEF_FLAG_AUTONAME) != 0;
	}
Construct TypeDefDB instance
@param dataMgr datatype manager
@param cache DataTypeDB cache
@param adapter TypeDef record adapter
@param record TypeDefDB record
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/TypedefDB.java