code: def _is_compressed_fobj(fobj: io.IOBase) -> bool:
      """Return True if fobj represents a compressed data file-like object"""
      return isinstance(fobj, COMPRESSED_FILE_LIKES)
  
imports: from __future__ import annotations
  import io
  import sys
  import typing
  import warnings
  from functools import reduce
  from operator import getitem, mul
  from os.path import exists, splitext
  import numpy
  from ._compression import COMPRESSED_FILE_LIKES
  from .casting import OK_FLOATS, shared_range
  from .externals.oset import OrderedSet
label_desc: Use image node_id 3 for calling a global function with example usage: _is_compressed_fobj(fobj) and returns: isinstance