class_docstr: ErrorTrees make it easier to check which validations failed.
class_docstr_tok: ["ErrorTrees","make","it","easier","to","check","which","validations","failed","."]
docstr: Check whether ``instance[index]`` has any errors.
docstr_tok: ["Check","whether","``","instance","[","index","]","``","has","any","errors","."]
code: def __contains__(self, index):
      """
      Check whether ``instance[index]`` has any errors.
      """
  
      return index in self._contents
  
imports: from collections import defaultdict, deque
  import itertools
  import pprint
  import textwrap
  import attr
  from jsonschema import _utils
  from jsonschema.compat import PY3, iteritems
label_desc: Use image node_id 2 for calling the ErrorTree obj's underlying member method code with example usage: obj.__contains__(index) and returns: unknown