code: def __contains__(self, key: Any) -> bool:
      # TODO(kmaehashi): Remove this transient function.
      if not isinstance(key, str):
          return False
      try:
          self.__getitem__(key)
      except AttributeError:
          return False
      return True
  
file_path: cupy/install/cupy_builder/_features.py
imports: import sys
  from typing import Any, Dict, List
  import cupy_builder.install_build
  import cupy_builder.install_utils
  from cupy_builder import Context
label_desc: Use image node_id 4 for calling the Feature obj's underlying member method code with example usage: obj.__contains__(key) and returns: True, False, False