def is_product_with_variants(self):
        return self.sub_type == PRODUCT_WITH_VARIANTS
Returns True if product is product with variants.
dataset/ETHPy150Open diefenbach/django-lfs/lfs/catalog/models.py/Product.is_product_with_variants