code: def check_interval(cls, interval, warn=True):
      if interval is None:
          warn = False
      if (
          not isinstance(interval, (int, float))
          or not cls.STAT_INTERVAL_MIN
          <= interval
          <= cls.STAT_INTERVAL_MAX
      ):
          if warn:
              logger.warning(
                  "To track system resource usage "
                  "please set `system_tracking_interval` "
                  "greater than 0 and less than 1 day"
              )
          return False
      return True
  
imports: import io
  import logging
  import re
  import sys
  import time
  import weakref
  from psutil import Process, cpu_percent
  from threading import Thread
  from typing import Union
  from weakref import WeakValueDictionary
  from aim.ext.resource.configs import AIM_RESOURCE_METRIC_PREFIX
  from aim.ext.resource.log import LogLine
  from aim.ext.resource.stat import Stat
label_desc: Use image node_id 3 for calling the ResourceTracker obj's underlying member method code with example usage: obj.check_interval(cls, interval, warn) and returns: True, False