magento Check if the product was correctly loaded


Example

$productFound = ($product->getId() !== null)