code: func xrayInit(awsClient *client.Client) {
  	if os.Getenv("AWS_XRAY_DAEMON_ADDRESS") != "" &&
  		os.Getenv("AWS_EXECUTION_ENV") != "" {
  		xray.AWS(awsClient)
  	}
  }
docs: // Conditionally attach XRay if it seems like the right thing to do