class_docstr: Decode key/data sets using a list of handlers.
  
  For each key/data item, this iterates through the list of
  handlers until some handler returns something other than None.
class_docstr_tok: ["Decode","key\/data","sets","using","a","list","of","handlers",".","For","each","key\/data","item",",","this","iterates","through","the","list","of","handlers","until","some","handler","returns","something","other","than","None","."]
code: def _is_stream_handle(data):
      obj_to_check = (
          data.file_obj if isinstance(data, StreamWrapper) else data
      )
      return isinstance(obj_to_check, (io.BufferedIOBase, io.RawIOBase))
  
imports: import io
  import json
  import os.path
  import pickle
  import tempfile
  import torch
  from torch.utils.data.datapipes.utils.common import StreamWrapper
label_desc: Use image node_id 3 for calling the Decoder obj's underlying member method code with example usage: obj._is_stream_handle(data) and returns: isinstance