def _case_changed(case_id, handler_ids):
    subcases = None
    case = CommCareCase.get(case_id)
    for handler in CaseReminderHandler.get_handlers_from_ids(handler_ids):
        if handler.start_condition_type == CASE_CRITERIA:
            kwargs = {}
            if handler.uses_time_case_property:
                kwargs = {
                    'schedule_changed': True,
                    'prev_definition': handler,
                }
            handler.case_changed(case, **kwargs)
            if handler.uses_parent_case_property:
                if subcases == None:
                    subcases = get_subcases(case)
                for subcase in subcases:
                    handler.case_changed(subcase, **kwargs)
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reminders/tasks.py/_case_changed/operator `is` -> `==`