code: func isFinalState(status api.IssuanceStatus) bool {
  	if status.State == api.IssuanceStateIssued || status.State == api.IssuanceStateFailed ||
  		status.State == api.IssuanceStateRotate {
  		return true
  	}
  
  	return false
  }
docs: // A successfully issued certificate and a failed certificate are our current final states