class_docstr: Produces a shuffled view of a sequence, such as a list.
  
  This assumes that the inner sequence never changes. If it does, the results
  are undefined.
class_docstr_tok: ["Produces","a","shuffled","view","of","a","sequence",",","such","as","a","list",".","This","assumes","that","the","inner","sequence","never","changes",".","If","it","does",",","the","results","are","undefined","."]
code: def __contains__(self, item) -> bool:
      for i in self.indices:
          if self.inner[i] == item:
              return True
      return False
  
file_path: allennlp/allennlp/common/sequences.py
imports: import bisect
  import random
  from collections import abc
  from typing import Sequence, Optional, Union
label_desc: Use image node_id 4 for calling the ShuffledSequence obj's underlying member method code with example usage: obj.__contains__(item) and returns: False, True