isinstance(5, int | str) issubclass(bool, int | float)