code: def get_context_folder_lookup(cls, context):
      # type: (Optional[str]) -> str
      if not context:
          return cls._default_context_folder_template
      return cls._context_to_folder_lookup.get(
          str(context), cls._default_context_folder_template
      )
  
imports: import atexit
  import hashlib
  import os
  import shutil
  from collections import OrderedDict
  from threading import RLock
  from typing import Union, Optional, Tuple, Dict
  from pathlib2 import Path
  from .helper import StorageHelper
  from .util import quote_url
  from ..config import get_cache_dir, deferred_config
  from ..debugging.log import LoggerRoot
  from ..utilities.locks.utils import Lock
  from ..utilities.locks.exceptions import LockException
  from ..utilities.files import get_filename_max_length
label_desc: Use image node_id 5 for calling the CacheManager obj's underlying member method code with example usage: obj.get_context_folder_lookup(cls, context) and returns: cls, cls