def __virtual__():
    '''
    Only load if defined in fileserver_backend and azure.storage is present
    '''
    if __virtualname__ not in __opts__['fileserver_backend']:
        return False

    if not HAS_AZURE:
        return False

    if 'azurefs' not in __opts__:
        return False

    if not _validate_config():
        return False

    return True
def __virtual__ ( ) : if __virtualname__ not in __opts__ [ 'fileserver_backend' ] : return False if not HAS_AZURE : return False if 'azurefs' not in __opts__ : return False if not _validate_config ( ) : return False return True
Only load if defined in fileserver_backend and azure.storage is present