code: func IsInState(ctx context.Context, client client.APIClient, containerID string, state ...string) func(log poll.LogT) poll.Result {
  	return func(log poll.LogT) poll.Result {
  		inspect, err := client.ContainerInspect(ctx, containerID)
  		if err != nil {
  			return poll.Error(err)
  		}
  		for _, v := range state {
  			if inspect.State.Status == v {
  				return poll.Success()
  			}
  		}
  		return poll.Continue("waiting for container to be one of (%s), currently %s", strings.Join(state, ", "), inspect.State.Status)
  	}
  }
docs: // IsInState verifies the container is in one of the specified state, e.g., "running", "exited", etc.