code: func IsCgroupUnified(root string) (bool, error) {
  	cgroupFsPath := filepath.Join(root, "/sys/fs/cgroup")
  	var statfs syscall.Statfs_t
  	if err := syscall.Statfs(cgroupFsPath, &statfs); err != nil {
  		return false, err
  	}
  
  	return statfs.Type == Cgroup2fsMagicNumber, nil
  }
docs: // IsCgroupUnified checks if cgroup mounted at /sys/fs/cgroup is
  // the new unified version (cgroup v2)