For simple and conigurable product types get true/false has options return 1 or 0:
<?php if ( $_product->getData('has_options') ): ?>
<!-- do something -->
<?php endif; ?>
For flat category data option enabled
$opts = Mage::getSingleton('catalog/product_option')->getProductOptionCollection($_product);
$optsSize = $opts->getSize();
if ( $optsSize ) {
... // go go go
}
<?php if (($_product->getTypeID() == 'simple') ): ?>
<!-- do something -->
<?php endif; ?>
/**
* Product types: simple, sonfigurable, grouped, bundle, virtual, downloadable
*/