@real_memoize
def is_smartos():
    if not is_sunos():
        return False
    else:
        return os.uname()[3].startswith('joyent_')
Simple function to return if host is SmartOS (Illumos) or not
dataset/ETHPy150Open saltstack/salt/salt/utils/__init__.py/is_smartos