captures Statistic
fun CaptureSpec.capturesStatistic(kind: ElementKind, name: String, offByDefault: Set<String>): Boolean(source)
Whether the response or counter name of kind is captured: as CaptureSpec.captures says, except that a statistic in offByDefault is captured only when it is included by name.