def has_add_permission(self, request):
        if not super(SingletonAdmin, self).has_add_permission(request):
            return False

        num_objects = self.model.objects.count()
        if 1 >= num_objects:
            return False
        else:
            return True
dataset/ETHPy150Open open-cloud/xos/xos/core/admin.py/SingletonAdmin.has_add_permission/swapped operands of `>=`