public boolean validateUserSelection() {

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

		return true;
	}
Returns true if the value of this editor is valid.  Clients can use this to verify that the
user text is a valid script selection.
@return true if the valid of this editor is valid.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/script/ScriptSelectionEditor.java