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