code: def open_ufo(path):
      if hasattr(ufo_module.Font, "open"):  # ufoLib2
          return ufo_module.Font.open(path)
      return ufo_module.Font(path)
  
file_path: catboost/contrib/python/fonttools/fontTools/cu2qu/cli.py
imports: import os
  import argparse
  import logging
  import shutil
  import multiprocessing
  from contextlib import closing
  from functools import partial
  import fontTools
  from .ufo import font_to_quadratic, fonts_to_quadratic
label_desc: Use image node_id 2 for calling a global function with example usage: open_ufo(path) and returns: ufo_module, ufo_module