Requires that the file is configured for rendering to Matroska video files. Audio is only extracted when there is an audio codec configured. This is a bit arbitrary, but it's at least a way to tell whether the artist is considering that there is audio of any relevance in the current blend file.