code: def maybe_close(f):
      @contextlib.contextmanager
      def empty():
          yield
          return
  
      if not f:
          return empty()
  
      return contextlib.closing(f)
  
file_path: catboost/contrib/python/setuptools/py3/setuptools/depends.py
imports: import sys
  import marshal
  import contextlib
  import dis
  from .None import _imp
  from ._imp import find_module, PY_COMPILED, PY_FROZEN, PY_SOURCE
  from .extern.packaging.version import Version
label_desc: Use image node_id 1 for calling a global function with example usage: maybe_close(f) and returns: contextlib, empty