code: func (x *XC) Initialized(ctx context.Context) error {
  	if x == nil {
  		return fmt.Errorf("XC not initialized")
  	}
  	if x.pubring == nil {
  		return fmt.Errorf("pubring not initialized")
  	}
  	if x.secring == nil {
  		return fmt.Errorf("secring not initialized")
  	}
  	if x.client == nil {
  		return fmt.Errorf("client not initialized")
  	}
  	if err := x.client.Ping(ctx); err != nil {
  		return fmt.Errorf("agent not running")
  	}
  	return nil
  }
docs: // Initialized returns an error if this backend is not properly initialized