Current test failing?

Is there any way, within a test (e.g., in an after block), to see
the test is currently passing, failing, or pending? Even a hack-ish kind
way? I’m just curious.

I’m trying to imagine a use case (and usage) of this. Could you give
me an example of how you would want to write it and what for?