code: def get_cache(self, key, **kwargs):
      if key in self.cache_dict:
          if key in self.ttl_dict:
              if time.time() > self.ttl_dict[key]:
                  self.cache_dict.pop(key, None)
                  return None
          original_cached_response = self.cache_dict[key]
          try:
              cached_response = json.loads(original_cached_response)
          except:
              cached_response = original_cached_response
          return cached_response
      return None
  
imports: import litellm
  import time, logging
  import json, traceback, ast, hashlib
  from typing import Optional, Literal, List, Union, Any
  from openai._models import BaseModel
label_desc: Use image node_id 3 for calling the InMemoryCache obj's underlying member method code with example usage: obj.get_cache(key) and returns: None, cached_response, None