def __virtual__():
    if not salt.utils.is_sunos() or not salt.utils.which('shutdown'):
        return (False, 'The system execution module failed to load: '
                'only available on Solaris-like ystems with shutdown command.')
    return __virtualname__
Only supported on Solaris-like systems
dataset/ETHPy150Open saltstack/salt/salt/modules/solaris_system.py/__virtual__