code: def do_load_modules(self, modules):
          
          _ts = time.time()
          logger.info("Loading modules...")
  
          if self.modules_manager.load_and_init(modules):
              if self.modules_manager.instances:
                  logger.info("I correctly loaded my modules: [%s]",
                              ','.join([inst.name for inst in self.modules_manager.instances]))
              else:
                  logger.info("I do not have any module")
          else:  # pragma: no cover, not with unit tests...
              logger.error("Errors were encountered when checking and loading modules:")
              for msg in self.modules_manager.configuration_errors:
                  logger.error(msg)
  
          if self.modules_manager.configuration_warnings:  # pragma: no cover, not tested
              for msg in self.modules_manager.configuration_warnings:
                  logger.warning(msg)
          statsmgr.gauge('modules.count', len(modules))
          statsmgr.timer('modules.load-time', time.time() - _ts)
docs: Wrapper for calling load_and_init method of modules_manager attribute
  
          :param modules: list of modules that should be loaded by the daemon
          :return: None