If it was a failed startup all their code was in the end useless garbage.
This is independent of the business value of the code, which of course matters in an entirely different way. However, that's not really the responsibility of the engineer so much as it is the business leaders.