def __contains__(self, key):
        if not self._fetched:
            self.refresh()
        return dict.__contains__(self, key)