Query if cancellation can be requested through this CancellationSource object. This will only return false if the CancellationSource object has been moved-from.
Declared in <folly/CancellationToken.h>
bool
canBeCancelled() const noexcept;
true if cancellation can be requested, false otherwise