isValidAudioShape

Extension to check if a tensor shape is compatible with an audio layout.