Returns whether the specified task can be added to the specified engine.
1 engine object
the engine to add it to.
2 taskTypeData data
the data to add.