code: def test_discovery() -> None:
      # Tests that this plugin can be discovered via the plugins subsystem when looking at all Plugins
      assert ExampleSearchPathPlugin.__name__ in [
          x.__name__
          for x in Plugins.instance().discover(SearchPathPlugin)
      ]
  
imports: from hydra.core.global_hydra import GlobalHydra
  from hydra.core.plugins import Plugins
  from hydra import initialize
  from hydra.plugins.search_path_plugin import SearchPathPlugin
  from hydra_plugins.example_searchpath_plugin.example_searchpath_plugin import ExampleSearchPathPlugin
label_desc: Use image node_id 1 for calling a global function with example usage: test_discovery() without return types