have parts in the markets for decades after manufacture. You can still find plenty of parts for GL1000 Goldwings, for instance, because the bike was really popular and still has a massive following (yes, I’d love a classic Goldwing). We’re talking a bike that was last manufactured 30 years ago.
But in general you need to check out your model to see that common wear parts are still available. Especially anything related to the carburetor, because that is the single most fiddly bit about your bike.