from typing import Type
from typing import Any


def is_new_type(type_: Type[Any]) -> bool:
    """
    Check whether type_ was created using typing.NewType
    """
    # isinstance(type_, test_type.__class__) and hasattr(type_, "__supertype__")
    return type_.__name__ == "Unique"