pub fn runtime_work_pending() -> boolExpand description
Non-blocking poll for the window between begin_shutdown and
finish_shutdown: false means phase 2 will not wait for user work.
Answers for the running generation when no shutdown is outstanding.