code: def process_existing_ids(self, entity: List[dict]) -> List[dict]:
          
          label = entity['label']
          existing_ids = entity['existing_ids']
          for existing_id in existing_ids:
              if 'curie' not in existing_id or 'iri' not in existing_id:
                  raise ValueError(
                      f'Missing needing key(s) in existing_ids for label: {label}')
              elif len(existing_id) > 2:
                  raise ValueError(
                      f'Extra keys not recognized in existing_ids for label: {label}')
          return entity
docs: Making sure key/value is in proper format for existing_ids in entity