title: Magento validate if product exist
body: <p>There is a way to validate if the product exist or if it was created by product id</p>
  
  <p>for example </p>
  
  <pre><code>$_prodId  = $this-&gt;getProduct()-&gt;getId();
  
      if (function_exists($_prodId)){
  </code></pre>
  
  <p>Thanks</p>