def onIRISRegionResponse(self, msg):
        for i in range(msg.num_iris_regions):
            new_region = irisUtils.SafeTerrainRegion.from_iris_region_t(msg.iris_regions[i])
            uid = msg.region_id[i]
            if self.regions not in uid:
                tform = new_region.tform
                item = self.newTerrainItem(tform, uid, new_region)
            else:
                item = self.regions[uid]
                item.setRegion(new_region)
dataset/ETHPy150Open RobotLocomotion/director/src/python/director/irisdriver.py/IRISDriver.onIRISRegionResponse/swapped operands of `not in`