def is_typevar(tp):
return type(tp) is TypeVar<EOL>
Test if the type represents a type variable. Examples::

        is_typevar(int) == False
        is_typevar(T) == True
        is_typevar(Union[T, int]) == False