def METHOD_NAME(cache, key):
    """ Try to get the value for the given key from the cache. In case of
    errors, return NO_VALUE.
    """
    if cache_status.is_down():
        log.warning('Not getting value from cache because it seems to be down')
        return NO_VALUE
    try:
        value = cache.METHOD_NAME(key, ignore_expiration=True)
        cache_status.request_success()
        return value
    except Exception:
        log.error('Getting value from cache failed', exc_info=True)
        cache_status.request_failure()
        return NO_VALUE