@Override
	public boolean applyTo(Program program) {
		SymbolTable symbolTable = program.getSymbolTable();
		try {
			newSymbol = symbolTable.createLabel(address, name, namespace, source);
			return true;//symbol already exist at this address, just complete
		}
		catch (InvalidInputException e) {
			if ((name == null) || (name.length() == 0)) {
				errorMsg = "You must enter a valid label name";
			}
			else {
				errorMsg = "" + name + " is not a valid label name";
			}
		}
		catch (Exception e) {
			errorMsg = e.getMessage();
		}
		return false;
	}
Constructs a new command for adding a label.
@param address address where the label is to be added.
@param name name of the new label. A null name will cause a default label
be added.
@param namespace the namespace of the label. (i.e. the namespace this label is associated with)
@param source the source of this symbol
Ghidra/Features/Base/src/main/java/ghidra/app/cmd/label/AddUniqueLabelCmd.java