public <T extends DomainObject> boolean execute(String commandName, T domainObject,
			Function<T, Boolean> f) {
		return taskMgr.execute(commandName, domainObject, f);
	}
Execute the given command in the foreground.  Required domain object transaction will be
started with delayed end to ensure that any follow-on analysis starts prior to transaction 
end.

@param <T> {@link DomainObject} implementation interface
@param commandName command name to be associated with transaction
@param domainObject domain object to be modified
@param f command function callback which should return true on success or false on failure.
@return result from command function callback
Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/PluginTool.java