code: def check_mkl_openmp():
      if not theano.config.blas.check_openmp:
          return
      if sys.platform == "darwin":
          return
      if (
          "MKL_THREADING_LAYER" in os.environ
          and os.environ["MKL_THREADING_LAYER"] == "GNU"
      ):
          return
      try:
          import numpy._mklinit  # noqa
  
          return
      except ImportError:
          pass
      try:
          import mkl
  
          if "2018" in mkl.get_version_string():
              raise RuntimeError(
                  """
  To use MKL 2018 with Theano either update the numpy conda packages to
  their latest build or set "MKL_THREADING_LAYER=GNU" in your
  environment.
  """
              )
      except ImportError:
          raise RuntimeError(
              """
  Could not import 'mkl'.  If you are using conda, update the numpy
  packages to the latest build otherwise, set MKL_THREADING_LAYER=GNU in
  your environment for MKL 2018.
  
  If you have MKL 2017 install and are not in a conda environment you
  can set the Theano flag blas.check_openmp to False.  Be warned that if
  you set this flag and don't set the appropriate environment or make
  sure you have the right version you *will* get wrong results.
  """
          )
  
imports: from __future__ import absolute_import, print_function, division
  import errno
  import os
  import sys
  import logging
  import numpy
  import platform
  import textwrap
  import re
  import socket
  import struct
  import warnings
  from six import string_types
  import theano
  from theano.configparser import AddConfigVar, BoolParam, ConfigParam, EnumStr, FloatParam, IntParam, StrParam, TheanoConfigParser, THEANO_FLAGS_DICT
  from theano.misc.cpucount import cpuCount
  from theano.misc.windows import call_subprocess_Popen, output_subprocess_Popen
  from theano.compat import maybe_add_to_os_environ_pathlist
label_desc: Use image node_id 18 for calling a global function with example usage: check_mkl_openmp() without return types