Ruby 4.1 リファレンスマニュアル

instance method TracePoint#enabled?

enabled? -> boolRuby 2.0.0 から[permalink][rdoc][edit]

self のトレースが有効な場合に true を、そうでない場合に false を返します。

[SEE_ALSO] TracePoint#enable, TracePoint#disable