code: func CRDHasFinalizer(crd *CustomResourceDefinition, needle string) bool {
  	for _, finalizer := range crd.Finalizers {
  		if finalizer == needle {
  			return true
  		}
  	}
  
  	return false
  }
docs: // CRDHasFinalizer returns true if the finalizer is in the list.