MakeMeACoffee said:and what about partially discontinued?
this is certainly not as simple as you portray it.
what you would need really is a personal toggle to say whether you consider it unobtainable for you moving forward.
I specifically exclude partially discontinued for 2 reasons.
1. The slippery slope issue.
2. "unobtainable for you" [or not] is impossible to programmatically ascertain from just the presence of the partially discontinued flag being present in the TA database.