I'm still in contact with former colleagues from 4 of my 5 former employers over the last ~20 years (no contact from 1 of them that I left in a hurry). That's how I know code I wrote back then, alongside code that was even older, is still in use today.