The problem with this heuristic is that every nontrivial piece of software contains something obviously stupid.
Which sounds like a refutation of the validity of this inference altogether, but—no, take heart: It still works, because it turns out every organization has a broken system or process or larger organizational dysfunction.
So in a sense yes, this logic works, but you can save yourself some steps.