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