baybe.utils.basic.refers_to

baybe.utils.basic.refers_to(cls: type, name_or_abbr: str, /)[source]

Check if the given name or abbreviation refers to the specified class.

Return type:

bool