code: def _read_magic(file_handle):
      """Utility to check the magic signature of a file identifying it as a
      Zfile
      """
      magic = file_handle.read(len(_ZFILE_PREFIX))
      # Pickling needs file-handles at the beginning of the file
      file_handle.seek(0)
      return magic
  
imports: import traceback
  import os
  import zlib
  import warnings
  import dill
  import pickle
  from io import BytesIO
label_desc: Use image node_id 2 for calling a global function with example usage: _read_magic(file_handle) and returns: magic