public boolean validateUserSelection() throws InvalidDataTypeException {

		// if it is not a known type, the prompt user to create new one
		if (!isValidDataType()) {
			return parseDataTypeTextEntry();
		}

		return true;
	}
Returns true if the current value of the data type editor is a know data type.
@return true if the current value of the data type editor is a know data type.
@throws InvalidDataTypeException If the current text in the editor's text field could not
        be parsed into a valid DataType
Ghidra/Features/Base/src/main/java/ghidra/app/util/datatype/DataTypeSelectionEditor.java