I check if a variable is TypeVar with below method:
hasattr(variable, \'__bound__\')
But It is not better way I think. I would like to know i