code: func (cfg *ScopeCfg) IsValid() bool {
  	if cfg == nil ||
  		strings.TrimSpace(cfg.Client.Provider) == "" ||
  		strings.TrimSpace(cfg.Client.Address) == "" {
  		return false
  	}
  
  	return true
  }
docs: // IsValid checks if the scope config has valid configuration.