private boolean containsValidScript() {
		// look for the case where the user made a selection from the matching window, but
		// then changed the text field text.
		ScriptInfo selectedInfo = selectionField.getSelectedValue();
		if (selectedInfo != null &&
			selectionField.getText().equals(selectedInfo.getName())) {
			return true;
		}
		return false;
	}
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