def __getitem__(self, key):
        if self.specialKeys in key:
            accessor = getattr(self, 'get_' + key)
            return accessor()

        if key in self.data:
            return self.data[key]
        else:
            entity = getattr(self, self.entityAttr)
            raise KeyError("\"%s\" is not in the %s context" % (key, entity))
dataset/ETHPy150Open OrbitzWorldwide/droned/romeo/lib/romeo/context.py/EntityContext.__getitem__/swapped operands of `in`