is_json

Function is_json 

Source
fn is_json(headers: &HeaderMap) -> bool