Knocking 340

An old school trick if I remember correctly is while its running and if you know which cylinder is knocking you disconnect spark plug wire . If the knock goes away it's top end but if it stays it's bottom end. Anyone else hear of this ?