private boolean isValid(String equateStr, Scalar testScalar) {
		// these are valid in the sense that they represent a clear or remove operation.
		if (StringUtils.isBlank(equateStr)) {
			return true;
		}

		// look up the new equate string
		Equate newEquate = equateTable.getEquate(equateStr);
		if (newEquate != null && doGetEnumDataType() == null) {
			// make sure any existing equate with that name has the same value.
			if (newEquate.getValue() != testScalar.getValue()) {
				setStatus("Equate " + equateStr + " exists with value 0x" +
					Long.toHexString(newEquate.getValue()) + " (" + newEquate.getValue() + ")");
				return false;
			}
		}
		return true;
	}
Sets the dialogs status display to the given message.
@param text the text
Ghidra/Features/Base/src/main/java/ghidra/app/util/bean/SetEquateDialog.java