code: func IsValidStateString(s string) bool {
  	if s != "paused" &&
  		s != "restarting" &&
  		s != "removing" &&
  		s != "running" &&
  		s != "dead" &&
  		s != "created" &&
  		s != "exited" {
  		return false
  	}
  	return true
  }
docs: // IsValidStateString checks if the provided string is a valid container state or not.