code: func IsEnabled() bool {
  	enabled := false
  	// Check if Seccomp is supported, via CONFIG_SECCOMP.
  	if err := unix.Prctl(unix.PR_GET_SECCOMP, 0, 0, 0, 0); err != unix.EINVAL {
  		// Make sure the kernel has CONFIG_SECCOMP_FILTER.
  		if err := unix.Prctl(unix.PR_SET_SECCOMP, unix.SECCOMP_MODE_FILTER, 0, 0, 0); err != unix.EINVAL {
  			enabled = true
  		}
  	}
  	logrus.Debugf("seccomp status: %v", enabled)
  	return enabled
  }
docs: // IsEnabled returns true if seccomp is enabled for the host.