code: func GetAPIServiceConditionByType(apiService *APIService, conditionType APIServiceConditionType) *APIServiceCondition {
  	for i := range apiService.Status.Conditions {
  		if apiService.Status.Conditions[i].Type == conditionType {
  			return &apiService.Status.Conditions[i]
  		}
  	}
  	return nil
  }
docs: // GetAPIServiceConditionByType gets an *APIServiceCondition by APIServiceConditionType if present