def __virtual__():
    if not HAS_REQUESTS:
        return False
    return __virtualname__
Only return if all the modules are available
dataset/ETHPy150Open saltstack/salt/salt/pillar/foreman.py/__virtual__