isWaitingForShutdown

Returns whether the node is waiting for pending flows to complete before shutting down. Disabling draining mode cancels this state.

Return

whether the node will shutdown when the pending flows count reaches zero.