5.3.1.18. validate_plugin_name

mfutil.plugins.validate_plugin_name(plugin_name)[source]

Validate a plugin name.

Parameters:plugin_name (string) – the plugin name to validate.
Returns:
(True, None) if the plugin name is ok,
(False, “error message”) if the plugin name is not ok.
Return type:(boolean, message)