title: How to see if redis is installed from within a python shell
body: <p>From the shell prompt I can easily view whether I have redis on my machine by doing:</p>
  
  <pre><code>PROD WEB ➜  /home  redis
  ~redis
  </code></pre>
  
  <p>How would I do the same from within the python shell? Do I have to use a <code>subprocess</code> call?</p>