[libtaskmanager] Add role to determine whether a new instance of a task can be launched
This moves a bit of logic that is currently in the task manager context menu down to the model.
This makes it easier to extend in the future
This moves a bit of logic that is currently in the task manager context menu down to the model.
This makes it easier to extend in the future