<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def advertiseBrokerWorkerDown(exctype, value, traceback):
 """Hook advertizing the broker if an impromptu shutdown is occuring."""

    if not scoop.SHUTDOWN_REQUESTED:
        execQueue.shutdown()
    sys.__excepthook__(exctype, value, traceback)