code: def getfile(object):
      if inspect.ismodule(object) and getattr(
          object, "__orig_file__", None
      ):
          res = object.__orig_file__
      else:
          res = orig_getfile(object)
      return res
  
file_path: catboost/library/python/pytest/plugins/conftests.py
imports: import os
  import importlib
  import sys
  import inspect
  import yatest.common
  from pytest import hookimpl
  from yatest_lib.ya import Ya
  from library.python.pytest.plugins.fixtures import metrics, links
label_desc: Use image node_id 1 for calling a global function with example usage: getfile(object) and returns: res