There currently is not a task that checks for a given ItemType. I am currently traveling so cannot create the task but you can create a conditional task by calling Inventory.GetItemTypeCount and comparing that to 0. If you do a search for GetItemTypeCount within the project you'll see a lot of examples of its use.