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