Checking if task instance is known