You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: req.rs
    path of file: ./repos/ninja/crates/openai/src/serve/proxy
    
    the code of the file until where you have to start completion: use std::str::FromStr;

use axum::body::Bytes;
use axum::{
    async_trait,
    http::{self},
};
use http::header;
use http::{HeaderMap, Method};
use serde_json::{json, Value};

use crate::arkose::{Arkos
    
pub(super) fn has_puid(headers: &HeaderMap) -> Result<bool, ResponseError> {
    if let Some(hv) = headers.get(header::COOKIE) {
        let cookie_str = hv.to_str().map_err(ResponseError::BadRequest)?;
        Ok(cookie_str.contains(PUID))
    } else {
        Ok(false)
    }
}