code: def has_dataset(key: str) -> bool:
      """Return if the dataset is registered in PyKEEN."""
      return dataset_resolver.lookup(key) is not None
  
imports: import logging
  from class_resolver import ClassResolver
  from .aristo import AristoV4
  from .base import CompressedSingleDataset, Dataset, EagerDataset, LazyDataset, PackedZipRemoteDataset, PathDataset, RemoteDataset, SingleTabbedDataset, TabbedDataset, TarFileRemoteDataset, TarFileSingleDataset, UnpackedRemoteDataset, ZipSingleDataset
  from .biokg import BioKG
  from .ckg import CKG
  from .codex import CoDExLarge, CoDExMedium, CoDExSmall
  from .conceptnet import ConceptNet
  from .countries import Countries
  from .cskg import CSKG
  from .db100k import DB100K
  from .dbpedia import DBpedia50
  from .drkg import DRKG
  from .ea import CN3l, EADataset, MTransEDataset, OpenEA, WK3l15k, WK3l120k
  from .freebase import FB15k, FB15k237
  from .globi import Globi
  from .hetionet import Hetionet
  from .kinships import Kinships
  from .literal_base import NumericPathDataset
  from .nations import Nations
  from .ogb import OGBBioKG, OGBLoader, OGBWikiKG2
  from .openbiolink import OpenBioLink, OpenBioLinkLQ
  from .pharmebinet import PharMeBINet
  from .pharmkg import PharmKG, PharmKG8k
  from .primekg import PrimeKG
  from .umls import UMLS
  from .utils import get_dataset
  from .wd50k import WD50KT
  from .wikidata5m import Wikidata5M
  from .wordnet import WN18, WN18RR
  from .yago import YAGO310
label_desc: Use image node_id 1 for calling a global function with example usage: has_dataset(key) and returns: unknown