def METHOD_NAME(self, key, default=None):
    """Return the corresponding value to ``key`` if ``key`` is in the cache,
    ``default`` otherwise. This method has no side-effects, multiple calls
    with the same cache and the same passed key must always return the same
    value.
    """
    try:
        return self._dict[key]
    except KeyError:
        return default