Current test failing?

Is there any way, within a test (e.g., in an after block), to see
whether
the test is currently passing, failing, or pending? Even a hack-ish kind
of
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?