import platform


def _is_mac_os_version_ge(version):
    """Returns True iff Mac OS X and newer than specified version."""
    mac_version, _, _ = platform.mac_ver()
    if mac_version:
        my_major, my_minor = version.split('.')
        # keep only major and minor system version
        sys_major, sys_minor = mac_version.split('.')[:2]
        if int(sys_major) > int(my_major):
            return True
        else:
            return int(sys_minor) >= int(my_minor)
    return False