D-Programming-Language/phobos — pull request #1175 by AndrejMitrovic (2013-02-26 00:19:53+00:00)
Title: Issue 9589 - Add hasEmpty template to std.range.

http://d.puremagic.com/issues/show_bug.cgi?id=9589

@jmdavis @andralex: Can you verify this is correctly implemented? It was briefly implemented as I needed it right away, so I figured I'd make a pull request while I'm already using it.