fn is_installed(
    pkg: &Package,
    config: &Config,
    opts: &CompileOptions,
    rustc: &Rustc,
    target: &str,
    root: &Filesystem,
    dst: &Path,
    force: bool
) -> CargoResult<bool>