def __is_response_successful(response_data: Dict[str, Any]) -> bool:
    """Check if the response data indicates a successful operation."""
    return ("code" in response_data) and (
        response_data["code"] == "Success" or response_data["code"] == "success"
    )
Check if the response data indicates a successful operation.
llama-index-integrations/readers/llama-index-readers-dashscope/llama_index/readers/dashscope/utils.py