code: def check_file(path, ignore=0):
      stubpath = path.with_suffix(".pyi")
      ret = 0
      if not stubpath.exists():
          return 0, 0
      tree = ast.parse(path.read_text())
      stubtree = ast.parse(stubpath.read_text())
      return check_namespace(tree, stubtree, path, ignore)
  
imports: import ast
  import pathlib
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: check_file(path, ignore) and returns: check_namespace, int,  int