def is_nuget_source_active():
    '''
       Check if nuget source is active
    '''
    result = subprocess.run(['dotnet', 'nuget', 'list', 'source', '--format', 'Short'], stdout=subprocess.PIPE)
    return f'E {NUGET_INDEX}' in result.stdout.decode('utf-8')

       Check if nuget source is active
    
packaging/createmsi.py