def is_classvar(tp):
if NEW_TYPING:<EOL><INDENT>return (tp is ClassVar or<EOL>isinstance(tp, _GenericAlias) and tp.__origin__ is ClassVar)<EOL><DEDENT>return type(tp) is _ClassVar<EOL>
Test if the type represents a class variable. Examples::

        is_classvar(int) == False
        is_classvar(ClassVar) == True
        is_classvar(ClassVar[int]) == True
        is_classvar(ClassVar[List[T]]) == True