def METHOD_NAME(request) -> bool:
    """
    Check if the request is a browser visiting this
    as the main url, rather than requesting an image.
    """
    accepted_headers = request.headers.get("Accept")
    logger.info(f"accepted_headers - {accepted_headers}")
    if accepted_headers:
        return "text/html" in accepted_headers or "*/*" in accepted_headers