code: func IsCRDConditionPresentAndEqual(crd *CustomResourceDefinition, conditionType CustomResourceDefinitionConditionType, status ConditionStatus) bool {
  	for _, condition := range crd.Status.Conditions {
  		if condition.Type == conditionType {
  			return condition.Status == status
  		}
  	}
  	return false
  }
docs: // IsCRDConditionPresentAndEqual indicates if the condition is present and equal to the given status.