Move telemetry settings check into telemetry module (#3877)

This is a small change I've been meaning to do to make it easier to call
the telemetry report event methods.

Release Notes:

- N/A
1d98132eedJoseph T. Lyons committed on 1/4/2024, 6:21:28 AM· committed by GitHubparentsc76fcb32972ee8
7 files changedLine totals unavailable