if (config_fn := base_dir / "config").exists(): ...
config_fn = base_dir / "config" if config_fn.exists(): ...
In other contexts, parens are a good indication it's time for a new line.
But I can agree something like this does look clean and clear:
if value := obj.get("key"): ...