from typing import Any


def cls_is_annotated(cls: Any) -> bool:
    """
    Inspect if a class has annotations

    Args:
        cls (Any): Class to inspect

    Returns:
        bool: True if cls is annotated else False
    """
    return (
        hasattr(cls, "__dict__")
        and "__annotations__" in cls.__dict__
        and len(cls.__dict__["__annotations__"]) > 0
    )