@property
    @memoized
    def has_published_apps(self):
        for app in self.domain_object.applications():
            if self.request.POST.get(app.id % "%s-publish", False):
                return True
        messages.error(self.request, _("Cannot publish a project without applications to CommCare Exchange"))
        return False
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/domain/views.py/CreateNewExchangeSnapshotView.has_published_apps/swapped operands of `%`