def is_deprecated(obj: Any):
    """Check if object is deprecated.

    Presently only supports values created by `deprecated_str`.
    """

    if import_utils.is_dummy(obj):
        ex = inspect.getattr_static(obj, "original_exception")
        if isinstance(ex, DeprecationWarning):
            return True

    return True
Check if object is deprecated.

    Presently only supports values created by `deprecated_str`.
    
src/core/trulens/core/utils/deprecation.py