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

    if get_dependencies() is False:
        return False

    warn_until(
        'Carbon',
        'The vsphere driver is deprecated in favor of the vmware driver and will be removed '
        'in Salt Carbon. Please convert your vsphere provider configs to use the vmware driver.'
    )

    return __virtualname__
Check for vSphere configurations.
dataset/ETHPy150Open saltstack/salt/salt/cloud/clouds/vsphere.py/__virtual__