code: def register_module(module_name, module_class):
      
      assert isinstance(module_name, str)
      assert isinstance(module_class, type)
      if module_name not in ModuleRegistry:
          ModuleRegistry[module_name] = module_class
      else:
          raise Exception("double registration in module registry")
docs: :return: None