pub fn has_metric(metrics: &PayloadMetrics, key: &str) -> boolExpand description
Does the flat metric list contain a metric with this exact name?
Thin wrapper around find_metric for the common existence
check — avoids forcing every call site to spell .is_some().