def is_new_osx():
name = distutils.util.get_platform()<EOL>if sys.platform != '<STR_LIT>':<EOL><INDENT>return False<EOL><DEDENT>elif name.startswith('<STR_LIT>'):<EOL><INDENT>minor_version = int(name.split('<STR_LIT:->')[<NUM_LIT:1>].split('<STR_LIT:.>')[<NUM_LIT:1>])<EOL>if minor_version >= <NUM_LIT:7>:<EOL><INDENT>return True<EOL><DEDENT>else:<EOL><INDENT>return False<EOL><DEDENT><DEDENT>else:<EOL><INDENT>return False<EOL><DEDENT>
Check whether we're on OSX >= 10.10