class_docstr: A simple cache that updates its stats upon checking (not retrieval)
      
class_docstr_tok: ["A","simple","cache","that","updates","its","stats","upon","checking","(","not","retrieval",")"]
code: def __contains__(self, key):
      if key in self._cache:
          self._hits += 1
          return True
      self._misses += 1
      return False
  
file_path: baikal/baikal/_core/utils.py
imports: from typing import Union, Any, List, Tuple
label_desc: Use image node_id 2 for calling the SimpleCache obj's underlying member method code with example usage: obj.__contains__(key) and returns: False, True