code: def is_new_osx():
      """Check whether we're on OSX >= 10.10"""
      name = distutils.util.get_platform()
      if sys.platform != "darwin":
          return False
      elif name.startswith("macosx-10"):
          minor_version = int(name.split("-")[1].split(".")[1])
          if minor_version >= 7:
              return True
          else:
              return False
      else:
          return False
  
imports: import os
  import subprocess
  import sys
  import contextlib
  from distutils.command.build_ext import build_ext
  from distutils.sysconfig import get_python_inc
  import distutils.util
  from distutils import ccompiler, msvccompiler
  from setuptools import Extension, setup, find_packages
label_desc: Use image node_id 1 for calling a global function with example usage: is_new_osx() and returns: False, False, True, False