@Override
	public boolean applyTo(Program program) {
		Function f = var.getFunction();
		if (f == null || f.getProgram() != program) {
			return false;
		}
		f.removeVariable(var);
		return true;
	}
@see ghidra.framework.cmd.Command#applyTo(ghidra.framework.model.DomainObject)
Ghidra/Features/Base/src/main/java/ghidra/app/cmd/function/DeleteVariableCmd.java