Use try_global() (#4112)

Use `try_global()` in places where we are using the "if global exists,
then give me the global" pattern.

Release Notes:

- N/A
9240a1a707Joseph T. Lyons committed on 1/18/2024, 6:38:56 AM· committed by GitHubparents933fb87b807e6f
10 files changedLine totals unavailable