Added convenience function IsReady for std::futures.