protected void checkValidity() throws InvalidDataTypeException {
		if (!isValid()) {
			throw new InvalidDataTypeException(getName() + " data type isn't valid at " +
				getAddress() + " in " + getProgram() + ".");
		}
	}
This method can be called by a model's get methods to validate the model before trying 
to retrieve a particular piece of information
<br>Important: This method must not be called by any methods that are called (possibly 
indirectly) by the model's validateModelSpecificInfo() method.
@throws InvalidDataTypeException if the model's data type isn't valid at the associated
address in the program.
Ghidra/Features/MicrosoftCodeAnalyzer/src/main/java/ghidra/app/cmd/data/AbstractCreateDataTypeModel.java