introduce isDeadlineTask