async def METHOD_NAME(request: Request) -> bool:
    info = await authenticate(request)
    if info.get("image_access", False):
        return True
    token = request.args.get("token")
    if token:
        logger.info(f"Authenticating with token: {token}")
        _url, updated = await tokenize(request, urls.clean(request.url))
        return not updated
    return False