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.
<?php if (class_exists('quote-me')): ?>
<?php echo $this->__('View Quotation'); ?>
<?php endif; ?>
Can someone let me know if I'm on the right track.