code: def _checked_cache(func):
      checked = dict()
  
      @functools.wraps(func)
      def _wrapper(name):
          if name not in checked:
              checked[name] = func(name)
          return checked[name]
  
      return _wrapper
  
imports: from __future__ import print_function, division, absolute_import
  import json
  import os
  import sys
  import six
  import fnmatch
  import importlib
  import ast
  import doctest
  import collections
  import functools
  from pathlib2 import Path
  from .utils import parse_git_config
  from .modules import ImportedModules
label_desc: Use image node_id 3 for calling a global function with example usage: _checked_cache(func) and returns: _wrapper, checked