pub fn needed(project: &Path) -> bool
Whether the project has anything to prepare: a root, or a manifest whose lockfile is missing.