def __virtual__():
    if get_configured_provider() is False:
        return False

    if get_dependencies() is False:
        return False

    return __virtualname__
Check for QingCloud configurations.
dataset/ETHPy150Open saltstack/salt/salt/cloud/clouds/qingcloud.py/__virtual__