Detecting a virtualized environment