def is_wrapped(transformer):
    """Check if a transformer is wrapped.

    Args:
        transformer: A transformer instance

    Returns:
        bool: True if transformer is wrapped, otherwise False.

    """
    return hasattr(transformer, "is_wrapped")