Is there a way to estimate a default amount from a senior mortgage lien before biding at the HOA foreclosure sale ?

I had come across to HOA foreclosure sales in which senior mortgage leans have big defaults amounts without ever filed notices of default and or have big defaults but notices of default or notices of trustee sale canceled or just ignored for months or years.

If I could get an inside of how is done, it will be greatly appreciated, thank you all for your contributions. Sal