code: def __contains__(cls, item):
      try:
          cls(item)  # pylint: disable=no-value-for-parameter
      except ValueError:
          return False
      return True
  
file_path: nni/nni/compression/utils/quantization/literal.py
imports: from enum import Enum, EnumMeta
label_desc: Use image node_id 1 for calling the _QuantLiteralEnumMeta obj's underlying member method code with example usage: obj.__contains__(cls, item) and returns: True, False