class_docstr: Wrapper around the builtin dict object.
  
  Explanation
  ===========
  
  The Dict is a subclass of Basic, so that it works well in the
  SymPy framework.  Because it is immutable, it may be included
  in sets, but its values must all be given at instantiation and
  cannot be changed afterwards.  Otherwise it behaves identically
  to the Python dict.
  
  Examples
  ========
  
  >>> from sympy import Dict, Symbol
  
  >>> D = Dict({1: 'one', 2: 'two'})
  >>> for key in D:
  ...    if key == 1:
  ...        print('%s %s' % (key, D[key]))
  1 one
  
  The args are sympified so the 1 and 2 are Integers and the values
  are Symbols. Queries automatically sympify args so the following work:
  
  >>> 1 in D
  True
  >>> D.has(Symbol('one')) # searches keys and values
  True
  >>> 'one' in D # not in the keys
  False
  >>> D[1]
  one
class_docstr_tok: ["Wrapper","around","the","builtin","dict","object",".","Explanation","===========","The","Dict","is","a","subclass","of","Basic",",","so","that","it","works","well","in","the","SymPy","framework",".","Because","it","is","immutable",",","it","may","be","included","in","sets",",","but","its","values","must","all","be","given","at","instantiation","and","can","not","be","changed","afterwards",".","Otherwise","it","behaves","identically","to","the","Python","dict",".","Examples","========",">",">",">","from","sympy","import","Dict",",","Symbol",">",">",">","D","=","Dict","(","{","1",":","'one","'",",","2",":","'two","'","}",")",">",">",">","for","key","in","D",":","...","if","key","==","1",":","...","print","(","'","%","s","%","s","'","%","(","key",",","D","[","key","]",")",")","1","one","The","args","are","sympified","so","the","1","and","2","are","Integers","and","the","values","are","Symbols",".","Queries","automatically","sympify","args","so","the","following","work",":",">",">",">","1","in","D","True",">",">",">","D.has","(","Symbol","(","'one","'",")",")","#","searches","keys","and","values","True",">",">",">","'one","'","in","D","#","not","in","the","keys","False",">",">",">","D","[","1","]","one"]
docstr: D.__contains__(k) -> True if D has a key k, else False
code: def __contains__(self, key):
      """D.__contains__(k) -> True if D has a key k, else False"""
      try:
          key = _sympify(key)
      except SympifyError:
          return False
      return key in self._dict
  
imports: from collections import OrderedDict
  from collections.abc import MutableSet
  from typing import Any, Callable
  from .basic import Basic
  from .sorting import default_sort_key, ordered
  from .sympify import _sympify, sympify, _sympy_converter, SympifyError
  from sympy.core.kind import Kind
  from sympy.utilities.iterables import iterable
  from sympy.utilities.misc import as_int
label_desc: Use image node_id 10 for calling the Dict obj's underlying member method code with example usage: obj.__contains__(key) and returns: unknown, False