def has_accessories(self):
        return len(self.get_accessories()) > 0
Returns True if the product has accessories.
dataset/ETHPy150Open diefenbach/django-lfs/lfs/catalog/models.py/Product.has_accessories