code: def probably_a_local_import(self, imp_name):
      if imp_name.startswith("."):
          # Relative imports are certainly not local imports.
          return False
      imp_name = imp_name.split(".", 1)[0]
      base_path = dirname(self.filename)
      base_path = join(base_path, imp_name)
      # If there is no __init__.py next to the file its not in a package
      # so can't be a relative import.
      if not exists(join(dirname(base_path), "__init__.py")):
          return False
      for ext in [".py", sep, ".pyc", ".so", ".sl", ".pyd"]:
          if exists(base_path + ext):
              return True
      return False
  
file_path: catboost/contrib/tools/python/src/Lib/lib2to3/fixes/fix_import.py
imports: from ..None import fixer_base
  from os.path import dirname, join, exists, sep
  from ..fixer_util import FromImport, syms, token
label_desc: Use image node_id 3 for calling the FixImport obj's underlying member method code with example usage: obj.probably_a_local_import(imp_name) and returns: False, False, False, True