Got it, that was just a copy paste error. I tried your code, which is what I was initially using, and it doesn't work even if I remove all extra spaces in the [no-items-found] shortcode. Any idea why? I've had to resort to a custom PHP function, which is fine, however I'm also going to have to reproduce this functionailty for a bunch of other views that are customized with attributes – it would be so much easier if I could just include the view shortcode in the conditional with something like:
[wpv-if evaluate="'[wpv-view name="Courses"]' != ''"]
or
[wpv-if evaluate="! empty([wpv-view name="Courses"])"]
Any reason why these don't work out of the box? It seems like the view injects a bunch of whitespace and/or linebreaks even when the [no-items-found] shortcode has no content.