is_registered_plugin

glotaran.plugin_system.base_registry.is_registered_plugin(plugin_register_key: str, plugin_registry: MutableMapping[str, _PluginType]) bool[source]

Check if a plugin with name plugin_register_key is registered in the given registry.

Parameters:
  • plugin_register_key (str) – Name of the plugin under which it is registered.

  • plugin_registry (MutableMapping[str, _PluginType]) – Registry to search in.

Returns:

Whether or not a plugin is in the registry.

Return type:

bool