code: func (state *DockerTaskEngineState) GetTaskByIPAddress(addr string) (string, bool) {
  	state.lock.RLock()
  	defer state.lock.RUnlock()
  
  	taskARN, ok := state.ipToTask[addr]
  	return taskARN, ok
  }
docs: // GetTaskByIPAddress gets the task arn for an IP address