While the system could theoretically figure out if a shock is bad, since it can see how quickly the suspension is moving in response to how much dampening it's applying, I don't think it does. Just codes if the magnetic coils are disconnected or if the sensors aren't sensing correctly.
If your shocks are bad, they should be leaking. Are they? A bang going over bumps could be other things.
If your shocks are bad, they should be leaking. Are they? A bang going over bumps could be other things.