def has_accessories(self):
        return len(self.get_accessories()) > 0
Restart the named service.
dataset/ETHPy150Open diefenbach/django-lfs/lfs/catalog/models.py/Product.has_accessories--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/openbsdrcctl.py/restart