def __virtual__():
    '''
    Only work on systems which default to SMF
    '''
    if __grains__['os_family'] in 'Solaris':
        # Don't let this work on Solaris 9 since SMF doesn't exist on it.
        if __grains__['kernelrelease'] == "5.9":
            return (False, 'The smf execution module failed to load: SMF not available on Solaris 9.')
        return __virtualname__
    return (False, 'The smf execution module failed to load: only available on Solaris.')
dataset/ETHPy150Open saltstack/salt/salt/modules/smf.py/__virtual__/swapped operands of `in`