isinstance(None, int | None) isinstance(42, None | int)