cpp/thread/stop token/stop requested

Checks if the object has associated stop-state and that state has received a stop request. A default constructed has no associated stop-state, and thus has not had stop requested.

Parameters
(none)

Return value
if the object has associated stop-state and it received a stop request,  otherwise.