Check if current task exists