def METHOD_NAME(curie: str):
    if curie is None:
        return None
    if curie is not None:
        preferred_curie_name = nodesynonymizer.get_canonical_curies(curie)[curie]['preferred_name']
    else:
        preferred_curie_name = None
    return preferred_curie_name