title: No echo output for PHP class_exists even though the class in on the page
body: <p>I'm trying to get a message to display if a class is present, not sure if I've got the right idea with this or not but it doesn't appear to be showing anything even though the class is there on the page.</p>
  
  <pre><code>&lt;?php if (class_exists('quote-me')): ?&gt;
  &lt;?php echo $this-&gt;__('View Quotation'); ?&gt;
  &lt;?php endif; ?&gt;
  </code></pre>
  
  <p>Can someone let me know if I'm on the right track.</p>