pub fn is_valid_install(dir: &Path, cli_command: &str) -> boolExpand description
Whether dir holds a usable install: marked complete AND its shim is
still there. A marker alone isn’t enough — a finished install can lose its
shim later (corruption, antivirus cleanup).