code: def check_context(self, context: CacheStorageContext) -> None:
      if (
          context.persist == "disk"
          and context.ttl_seconds is not None
          and not math.isinf(context.ttl_seconds)
      ):
          _LOGGER.warning(
              f"The cached function '{context.function_display_name}' has a TTL "
              "that will be ignored. Persistent cached functions currently don't "
              "support TTL."
          )
  
imports: from __future__ import annotations
  import math
  import os
  import shutil
  from streamlit import util
  from streamlit.file_util import get_streamlit_file_path, streamlit_read, streamlit_write
  from streamlit.logger import get_logger
  from streamlit.runtime.caching.storage.cache_storage_protocol import CacheStorage, CacheStorageContext, CacheStorageError, CacheStorageKeyNotFoundError, CacheStorageManager
  from streamlit.runtime.caching.storage.in_memory_cache_storage_wrapper import InMemoryCacheStorageWrapper
label_desc: Use image node_id 3 for calling the LocalDiskCacheStorageManager obj's underlying member method code with example usage: obj.check_context(context) without return types