There are cases where a "full" check for block pruning is not done (fHavePruned and nTx > 0 checks), but where the context indicates that pruning is always the reason. This makes the checks more explicit and straightforward, and separates them more from the cases where we are simply checking whether we have a block or not vs whether we had it at one point and it was pruned.
Note that nTx > 0 is supposed to always be equivalent to (pindex->nStatus & BLOCK_HAVE_DATA). (Edit: got this backwards; this is true for the true case, but for pruned nodes, nTx > 0 while (pindex->nStatus & BLOCK_HAVE_DATA) is 0.)