code: def _resolve_nodes_to_phenotypes(id_list: List[str]) -> List[str]:
          
          pheno_list = []
          node_types = get_id_type_map(id_list)
  
          for node in id_list:
              if 'phenotype' in node_types[node]:
                  pheno_list.append(node)
              else:
                  phenotypes = get_objects_for_subject(
                      subject=node, object_category='phenotype', relation='RO:0002200'
                  )
                  pheno_list = pheno_list + phenotypes
          return pheno_list
docs: Given a list of ids of unknown type, determine which ids
          are phenotypes, if the id is not a phenotype, check to
          see if it is associated with one or more phenotypes via
          the 'has_phenotype' relation
          :param id_list: list of ids of any type (curies as strings)
          :return: list of phenotypes (curies as strings)