Check if task item is null