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