code: func hasHostNamespace(pod *v1.Pod) bool {
  	if pod.Spec.SecurityContext == nil {
  		return false
  	}
  	return pod.Spec.HostIPC || pod.Spec.HostNetwork || pod.Spec.HostPID
  }
docs: // hasHostNamespace returns true if hostIPC, hostNetwork, or hostPID are set to true.