How to tell if HG is installed?