xkcd has forced my hand. A quick search revealed that this is apparently the best way to check for superuser privileges. Go figure.