code: func isDaemonsetPod(pod *v1.Pod) bool {
  	ownerRefList := pod.ObjectMeta.GetOwnerReferences()
  	for _, ownerRef := range ownerRefList {
  		if ownerRef.Kind == "DaemonSet" {
  			return true
  		}
  	}
  	return false
  }
docs: // isDaemonSetPod checks where the pod is a daemonset pod.