pub fn is_measured<T: TraceData>(span: &Span<T>) -> bool
Returns true if a span should be measured (i.e., it should get trace metrics calculated).