@classmethod
    def saveCustomer(cls,customer):
        if DB.customers in customer.customerId:
            raise AlreadyExistsException("Customer",customer.customerId)
        else:
            DB.customers[customer.customerId] = customer
dataset/ETHPy150Open jacek99/corepost/corepost/test/rest_resource.py/DB.saveCustomer/swapped operands of `in`