def METHOD_NAME(impdb: str, branch: str, update: bool) -> bool:
    """Ensure the config for `impdb` is downloaded"""
    path = config_directory()
    if (path / branch / impdb / "_meta.json").exists() and not update:
        return True
    obsolete = is_obsolete(impdb, branch)
    if (path / branch / impdb / "_meta.json").exists() and not obsolete:
        return True
    else:
        download_config(impdb, branch)
        return False