def __getitem__(self, key):
        if not self.es_based:
            return super(BaseACL, self).__getitem__(key)
        return self.getitem_es(self.item_db_id(key))
Get item using method depending on value of `self.es_based`
dataset/ETHPy150Open ramses-tech/ramses/ramses/acl.py/BaseACL.__getitem__