Sunnysideup\EcommerceProductVariation\Model\Buyables\ProductWithVariationDecorator::IsProduct
tells you whether the current object is a product seems a bit silly, but it can be useful as other buyables can return false from this method.
Signature
public function IsProduct()
Returns
- bool