code: def is_sent(self) -> bool:
      last_event_idx = self.notifications_cache.get(self.obj_idx, -1)
      if self.rank is None or last_event_idx < self.rank:
          return False
      elif last_event_idx == self.rank:
          return True
      else:
          logger.warning(
              f"New event id {self.rank} for object '{self.obj_idx}' "
              f"is less than last reported event id {last_event_idx}."
          )
          return True
  
imports: import json
  import time
  import queue
  import logging
  from threading import Thread
  from pathlib import Path
  from cachetools.func import ttl_cache
  from typing import Dict, Optional, Generic, TypeVar
  from abc import abstractmethod
  from collections import OrderedDict
  from aim.sdk.repo import Repo
  from aim.sdk.run import Run
  from aim.storage.locking import AutoFileLock
  from aim.ext.notifier import get_config, get_notifier, Notifier, NotificationSendError
  from aim.ext.notifier.utils import get_working_directory
  from aim.ext.cleanup import AutoClean
label_desc: Use image node_id 3 for calling the StatusNotification obj's underlying member method code with example usage: obj.is_sent() and returns: False, True, True