parameters: (self, index)
return_statement: return index in self._contents
docstring: Check whether ``instance[index]`` has any errors.
docstring_summary: Check whether ``instance[index]`` has any errors.
docstring_tokens: Check whether instance [ index ] has any errors .
function: def __contains__(self, index):
          """
          Check whether ``instance[index]`` has any errors.
          """
  
          return index in self._contents
function_tokens: def __contains__ ( self , index ) : return index in self . _contents