check if deadline is nil