In the NTP-based time library that I wrote before Spark. time.now() was available, I have a public flag called “hasSynced” as well as the last sync time “lastNTPTime” for just this type of problem.
Due to the asynchronous nature of cloud start up and requests, a Boolean flag for this seems more appropriate to me since you are likely to just poll until success anyway.