code: def _is_macos():
      """Returns True if current platform is MacOS, False otherwise."""
      return _sys.platform == "darwin"
  
imports: import math
  import numpy
  import os
  import six
  import warnings
  import sys
  from coremltools.proto import Model_pb2
  from coremltools.models._deprecation import deprecated
  from .._deps import _HAS_SKLEARN
label_desc: Use image node_id 24 for calling a global function with example usage: _is_macos() and returns: unknown