def METHOD_NAME(m: ModuleDownload) -> bool:
    if should_download_module(m.module_link):
        logging.info(f'Downloading module {m.address}')
        try:
            content = module_loader_registry.load(m.source_dir, m.module_link,
                                                  "latest" if not m.version else m.version)
            if content is None or not content.loaded():
                log_message = f'Failed to download module {m.address}'
                if not module_loader_registry.download_external_modules:
                    log_message += ' (for external modules, the --download-external-modules flag is required)'
                logging.warning(log_message)
                return False
        except Exception as e:
            logging.warning(f"Unable to load module ({m.address}): {e}")
            return False
    return True