Hi
Say I have a function foo() which contains code displaying a progress bar with progressr.
Is there a simple way to detect whether either a global handler is registered in the current session, or whether foo() is wrapped within with_progress such that foo() will display a progress bar in my console?
Thanks!