title: product has a custom options or not in magento?
body: <p>how to check that product has a custom options or not in magento?</p>
  
  <pre><code>Mage::setIsDeveloperMode(true);         
  Mage::app()-&gt;setCurrentStore(Mage::getModel('core/store')-&gt;load(Mage_Core_Model_App::ADMIN_STORE_ID));
  $product    = Mage::getModel('catalog/product')-&gt;load($sku, 'sku');
  $code = $product-&gt;getAttribute()-&gt;getAttributeCode();
  </code></pre>