code: def load_mlmodel(model_path):
      load_args = [
          " /usr/local/bin/coremltest",
          "load",
          "-modelPath",
          model_path,
      ]
      print("Loading {}".format(model_path))
      process = Popen(
          (" ").join(load_args),
          stdin=subprocess.PIPE,
          stdout=subprocess.PIPE,
          stderr=subprocess.PIPE,
          shell=True,
      )
      stdout, err = process.communicate()
  
      if not err:
          return True
      else:
          print(" The error is {}".format(err.decode()))
          return False
  
imports: from __future__ import print_function
  import json
  import os
  import shutil
  import subprocess
  import tarfile
  import tempfile
  import unittest
  from subprocess import Popen
  import PIL.Image
  import numpy
  import pytest
  import coremltools
  from coremltools._deps import _HAS_KERAS2_TF
  from coremltools.models.utils import _macos_version, _is_macos
label_desc: Use image node_id 2 for calling a global function with example usage: load_mlmodel(model_path) and returns: True, False