code: func GetControllerOf(controllee Object) *OwnerReference {
  	for _, ref := range controllee.GetOwnerReferences() {
  		if ref.Controller != nil && *ref.Controller {
  			return &ref
  		}
  	}
  	return nil
  }
docs: // GetControllerOf returns a pointer to a copy of the controllerRef if controllee has a controller