def __virtual__():
    '''
    Only load if the slack module is available in __salt__
    '''
    return 'slack' if 'slack.post_message' in __salt__ else False
dataset/ETHPy150Open saltstack/salt/salt/states/slack.py/__virtual__/original