code: def check_git_submodules():
      out = os.popen("git submodule status")
      modules = out.readlines()
      for submodule in modules:
          if submodule.strip()[0] == "-":
              raise RuntimeError(
                  "git submodules are not initialized."
                  "Please run `git submodule update --init` to fix this."
              )
  
imports: import os
  import sys
  import sysconfig
  import pickle
  import copy
  import warnings
  import textwrap
  import glob
  from os.path import join
  from numpy.distutils import log
  from numpy.distutils.msvccompiler import lib_opts_if_msvc
  from distutils.dep_util import newer
  from sysconfig import get_config_var
  from numpy.compat import npy_load_module
  from setup_common import *
label_desc: Use image node_id 3 for calling a global function with example usage: check_git_submodules() without return types