@property
    def owner_id(self):
        if 'owner_id' in self.case:
            return self.case['owner_id']
        elif self.case in 'user_id':
            return self.case['user_id']
        else:
            return ''
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reports/standard/cases/data_sources.py/CaseInfo.owner_id/swapped operands of `in`