This always reads strange to me.  I'd generally prefer an assignment and a check on that variable.