def METHOD_NAME(network: IPv4Network | IPv6Network, request: flask.Request, renew: bool = False):
    """Checks whether a valid ping is exists for this (client) network, if not
    this request is rated as *suspicious*.  If a valid ping exists and argument
    ``renew`` is ``True`` the expire time of this ping is reset to
    :py:obj:`PING_LIVE_TIME`.
    """
    redis_client = redisdb.client()
    if not redis_client:
        return False
    ping_key = get_ping_key(network, request)
    if not redis_client.get(ping_key):
        logger.warning("missing ping (IP: %s) / request: %s", network.compressed, ping_key)
        return True
    if renew:
        redis_client.set(ping_key, 1, ex=PING_LIVE_TIME)
    logger.debug("found ping for (client) network %s -> %s", network.compressed, ping_key)
    return False