code: def is_supported(fileobj):
      """Checks if the file-like object if supported by NiBabel.
  
      Parameters
      ----------
      fileobj : string or file-like object
          If string, a filename; otherwise an open file-like object pointing
          to a streamlines file (and ready to read from the beginning of the
          header)
  
      Returns
      -------
      is_supported : boolean
      """
      return detect_format(fileobj) is not None
  
file_path: nibabel/nibabel/streamlines/__init__.py
imports: import os
  import warnings
  from .array_sequence import ArraySequence
  from .header import Field
  from .tck import TckFile
  from .tractogram import LazyTractogram, Tractogram
  from .tractogram_file import ExtensionWarning
  from .trk import TrkFile
label_desc: Use image node_id 1 for calling a global function with example usage: is_supported(fileobj) and returns: unknown