code: def _get_taxids(self, taxids=None):
          
          taxid_keys = set(self.taxid2asscs.keys())
          return taxid_keys if taxids is None else set(taxids).intersection(taxid_keys)
docs: Return user-specified taxids or taxids in self.taxid2asscs