code: def is_coreml_supported():
      import sys
  
      if sys.platform == "darwin":
          import platform
  
          ver_str = platform.mac_ver()[0]
          if tuple([int(v) for v in ver_str.split(".")]) >= (10, 13):
              return True
  
      print(
          "CoreML is not supported on your platform.", file=sys.stderr
      )
      return False
  
imports: from __future__ import absolute_import
  from __future__ import print_function
  import os
  import sys
  import imp
  import numpy
  from mmdnn.conversion.examples.imagenet_test import TestKit
  import utils
  from utils import *
  from datetime import datetime
label_desc: Use image node_id 2 for calling a global function with example usage: is_coreml_supported() and returns: False, True