Add has_vm? method for vSphere.