code: func HasProgressDeadline(d *apps.Deployment) bool {
  	return d.Spec.ProgressDeadlineSeconds != nil && *d.Spec.ProgressDeadlineSeconds != math.MaxInt32
  }
docs: // HasProgressDeadline checks if the Deployment d is expected to surface the reason
  // "ProgressDeadlineExceeded" when the Deployment progress takes longer than expected time.