Check if a method is being traced
Examples
library(ggplot2)
gguntrace(Stat$compute_layer)
#> `Stat$compute_layer` not currently being traced.
is_traced(Stat$compute_layer)
#> [1] FALSE
ggtrace(Stat$compute_layer, 1)
#> `Stat$compute_layer` now being traced.
is_traced(Stat$compute_layer)
#> [1] TRUE
gguntrace(Stat$compute_layer)
#> `Stat$compute_layer` no longer being traced.
is_traced(Stat$compute_layer)
#> [1] FALSE
gguntrace(Stat$compute_layer)
#> `Stat$compute_layer` not currently being traced.