'Return a state field\'s value.'

def __getitem__(self, key):

    if (key in self._state):
        if (key == 'subscription'):
            return self._subscription()
        return self._state[key]
    else:
        raise KeyError
