Not in the same way, but there definitely is in medicine. It’s less severe because you don’t finish training until you are in your thirties, so you’re good until your ... oh, fifties? Maybe sixties?
After that, you had better be visibly up to date on your field, because it will be people’s starting assumption that you are woefully behind the times. And, in fairness, it seems like many docs at that stage of their career are.
You don't start working soon in Medicine either. Basically the decade you spend studying, the lost decade of early adult life of 20's gets shifted the 50's.