'Returns shared value if key is available.'

def __getitem__(self, key):

    if (key in self.idx):
        (idx, typ) = self.idx[key]
        return self.arrays[typ][idx]
    else:
        raise KeyError('Key    "{}"    not    found    in    SharedTable'.format(key))
