https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6…
public function isRecording() : bool;