title: How can a Python script detect if it is being run in Virtualbox or some other VM?
body: <p>Ideally, I'd like a <code>isRunningInVirtualbox()</code> function that returns <code>True</code> or <code>False</code>.</p>
  
  <p>I'm specifically looking at getting this detection in Python. Is there a Python module or some way that can detect if the Python script is being run in Virtualbox (or ideally detect if it's being run in VMware or some other VM.)</p>
  
  <p>(I'm writing a script that will warn the user if it's NOT running in a VM, so I don't really care about elaborate hacks or tricks that will try to give false positives.)</p>