dryer doesn't heat

I have a whirlpool dryer that’s about 20 years old. I’ve taken care of it and it runs great but just recently, it has stopped heating. I’ve verified that it is not the thermal fuse. Is it the heating element that’s gone bad and if so, is it worth replacing?

thanks in advance