code: func IsControlledBy(obj Object, owner Object) bool {
  	ref := GetControllerOf(obj)
  	if ref == nil {
  		return false
  	}
  	return ref.UID == owner.GetUID()
  }
docs: // IsControlledBy checks if the  object has a controllerRef set to the given owner