def METHOD_NAME(self, ir: "IR", aconf: Config) -> bool:
    module_info = aconf.get_module("authentication")
    if module_info:
        self._load_auth(module_info, ir)
    config_info = aconf.get_config("auth_configs")
    if config_info:
        for config in config_info.values():
            self._load_auth(config, ir)
    if not self.hosts:
        self.logger.debug("IRAuth: no AuthServices, going inactive")
        return False
    self.logger.debug("IRAuth: going active")
    return True