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