code: def test_settingsstash_set(
      root_verify_key,
      settings_stash: SettingsStash,
      settings: NodeSettingsV2,
  ) -> None:
      result = settings_stash.set(root_verify_key, settings)
      assert result.is_ok()
  
      created_settings = result.ok()
      assert isinstance(created_settings, NodeSettingsV2)
      assert created_settings == settings
      assert settings.id in settings_stash.partition.data
  
imports: from syft.service.settings.settings import NodeSettingsUpdate
  from syft.service.settings.settings import NodeSettingsV2
  from syft.service.settings.settings_stash import SettingsStash
label_desc: Use image node_id 2 for calling a global function with example usage: test_settingsstash_set(root_verify_key, settings_stash, settings) without return types