(nit) fix up how we determine that vm is empty