code: func isPrivileged(pod *corev1.Pod) bool {
  	for _, c := range pod.Spec.InitContainers {
  		if c.SecurityContext == nil || c.SecurityContext.Privileged == nil {
  			continue
  		}
  		if *c.SecurityContext.Privileged {
  			return true
  		}
  	}
  	for _, c := range pod.Spec.Containers {
  		if c.SecurityContext == nil || c.SecurityContext.Privileged == nil {
  			continue
  		}
  		if *c.SecurityContext.Privileged {
  			return true
  		}
  	}
  	return false
  }
docs: // isPrivileged will return true a pod has any privileged containers