code: func IsRollingUpdate(deployment *apps.Deployment) bool {
  	return deployment.Spec.Strategy.Type == apps.RollingUpdateDeploymentStrategyType
  }
docs: // IsRollingUpdate returns true if the strategy type is a rolling update.