I have dataset with some apparently retired Ensemble peptide IDs, such as ENSP00000400710. Presumably the dataset was processed with an older version of the Ensembl database. I want to translate these into gene IDs, and in many cases, the peptide ID is retired but the gene ID is not. Is there a way to get all non-retired gene IDs from a set of retired peptide IDs programmatically?