pub fn has_worktree(repo_root: &Path, worktree_dir: &str) -> bool
Check if a worktree exists for the given directory.