checks to see if vm is on