def __virtual__():
    if HAS_LIBS:
        return __virtualname__
    return (False, "Module xmpp: required libraries failed to load")
Only load this module if sleekxmpp is installed on this minion.
dataset/ETHPy150Open saltstack/salt/salt/modules/xmpp.py/__virtual__