def __init__(self, domain=None, strip_history=False, deleted_ok=False,
                 lock=False, wrap=True, initial=None, xforms=None):

        self._populate_from_initial(initial)
        self.domain = domain
        self.xforms = xforms if xforms != None else []
        self.strip_history = strip_history
        self.deleted_ok = deleted_ok
        self.lock = lock
        self.wrap = wrap
        if self.lock and not self.wrap:
            raise ValueError('Currently locking only supports explicitly wrapping cases!')
        self.locks = []
        self._changed = set()
dataset/ETHPy150Open dimagi/commcare-hq/corehq/form_processor/casedb_base.py/AbstractCaseDbCache.__init__/operator `is not` -> `!=`