def has_related_products(self):
        return len(self.get_related_products()) > 0
Save the worktree config in .qi/git.xml
dataset/ETHPy150Open diefenbach/django-lfs/lfs/catalog/models.py/Product.has_related_products--crossover with--dataset/ETHPy150Open aldebaran/qibuild/python/qisrc/worktree.py/GitWorkTree.save_git_config