code: def check_ideep_available():
      """Checks if iDeep is available.
  
      When iDeep is correctly set up, nothing happens.
      Otherwise it raises ``RuntimeError``.
      """
      if _ideep_version is None:
          # If the error is missing shared object, append a message to
          # redirect to the ideep website.
          msg = str(_error)
          if "cannot open shared object file" in msg:
              msg += (
                  "\n\nEnsure iDeep requirements are satisfied: "
                  "https://github.com/intel/ideep"
              )
          raise RuntimeError(
              "iDeep is not available.\n"
              "Reason: {}: {}".format(type(_error).__name__, msg)
          )
      elif _ideep_version != 2:
          raise RuntimeError(
              "iDeep is not available.\n"
              "Reason: Unsupported iDeep version ({})".format(
                  _ideep_version
              )
          )
  
file_path: chainer/chainer/backends/intel64.py
imports: from __future__ import absolute_import
  import numpy
  import chainer
  from chainer import _backend
  from chainer.backends import _cpu
  from chainer.configuration import config
label_desc: Use image node_id 2 for calling a global function with example usage: check_ideep_available() without return types