code: def find_module_py34(
      string, path=None, full_name=None, is_global_search=True
  ):
      spec = None
      loader = None
  
      for finder in sys.meta_path:
          if (
              is_global_search
              and finder != importlib.machinery.PathFinder
          ):
              p = None
          else:
              p = path
          try:
              find_spec = finder.find_spec
          except AttributeError:
              # These are old-school clases that still have a different API, just
              # ignore those.
              continue
  
          spec = find_spec(string, p)
          if spec is not None:
              loader = spec.loader
              if loader is None and not spec.has_location:
                  # This is a namespace package.
                  full_name = string if not path else full_name
                  implicit_ns_info = ImplicitNSInfo(
                      full_name, spec.submodule_search_locations._path
                  )
                  return None, implicit_ns_info, False
              break
  
      return find_module_py33(string, path, loader)
  
imports: import errno
  import sys
  import os
  import re
  import pkgutil
  import warnings
  import inspect
  import subprocess
  import ast
label_desc: Use image node_id 1 for calling a global function with example usage: find_module_py34(string, path, full_name, is_global_search) and returns: find_module_py33, None,  implicit_ns_info,  False