public boolean canCancel() {
		return canCancel;
	}
Check if the command can be canceled.

@return true if this command can be canceled
Ghidra/Framework/Project/src/main/java/ghidra/framework/cmd/BackgroundCommand.java