title: Check if a Perl module is installed from within a Python program
body: <p>I have a Python program that runs an <code>os.system</code> command which is dependent on a Perl module in order to generate some graphics.</p>
  
  <p>What is the best way to check if potential users of my program have this module installed? </p>