code: def _what(data):
      # Try to identify a sound file type.
      #
      # sndhdr.what() had a pretty cruddy interface, unfortunately.  This is why
      # we re-do it here.  It would be easier to reverse engineer the Unix 'file'
      # command and use the standard 'magic' file, as shipped with a modern Unix.
      hdr = data[:512]
      fakefile = BytesIO(hdr)
      for testfn in _rules:
          if res := testfn(hdr, fakefile):
              return res
      else:
          return None
  
file_path: catboost/contrib/tools/python3/src/Lib/email/mime/audio.py
imports: from io import BytesIO
  from email import encoders
  from email.mime.nonmultipart import MIMENonMultipart
label_desc: Use image node_id 1 for calling a global function with example usage: _what(data) and returns: None, res