code: func ValidSignalForPlatform(sig syscall.Signal) bool {
  	for _, v := range SignalMap {
  		if v == sig {
  			return true
  		}
  	}
  	return false
  }
docs: // ValidSignalForPlatform returns true if a signal is valid on the platform