Return true if a stop has been requested on this StopState object, and false otherwise.
true
StopState
false
Declared in <bslstl_stopstate.h>
<bslstl_stopstate.h>
[[nodiscard]] bool stopRequested() const;
The return value should not be discarded.