def isMac():
    plat = platform.platform()
    return (plat.find('Darwin') >= 0) or (plat.find('MacOS') >= 0)
remark: sys.platform and os.name cannot identify in Jython, so use platform.platform()
dataset/ETHPy150Open harryliu/edwin/edwinAgent/common/os_helper.py/isMac