code: def get_registered_configs(self, instances=None):
          
          configs = self.state.get('config_files', {})
          if instances is not None:
              for config_file, config in configs.items():
                  if config['instance_name'] not in instances:
                      configs.pop(config_file)
          return configs
docs: Return the persisted values of all config files registered with the config manager.