def METHOD_NAME(self):
    now = time.time()
    if now - self.mga_offline_last_check < 5:
        return
    self.mga_offline_last_check = now
    date = self.mga_offline.get_data_date_closest_to_now()
    if date is None:
        print("No offline data")
        return False
    if (self.mga_offline_data_uploaded is not None and
        self.mga_offline_data_uploaded == date):
        print("Already uploaded data for (%s)" % str(date))
        return
    # send all data past his point; the driver in ArduPilot will filter
    # to send just the closest to the GPS
    data = self.mga_offline.messages_for_date(date)
    print("Uploading MGA-Offline for %s" % str(data))