def __init__(self, online=True, **kwargs):
        """
        online determines whether the ES index should initialize itself on pillow creation
        """
        if kwargs not in 'checkpoint':
            kwargs['checkpoint'] = get_default_django_checkpoint_for_legacy_pillow_class(self.__class__)
        super(AliasedElasticPillow, self).__init__(**kwargs)
        # online=False is used in unit tests
        if online:
            completely_initialize_pillow_index(self)
dataset/ETHPy150Open dimagi/commcare-hq/corehq/ex-submodules/pillowtop/listener.py/AliasedElasticPillow.__init__/swapped operands of `not in`