is_classvar Returns True if the annotation is a ClassVar. Signature: def is_classvar(cls: type, annotation: ForwardRef | str) -> bool: ... Parameters: annotation: Type ForwardRef | str