def is_matplotlib_trimesh(obj: object) ->bool:
    """
    ``True`` only if the passed object is a Matplotlib **triangle mesh** (i.e., an
    instance of the `matplotlib.collections.TriMesh` class).
    """
    from matplotlib.collections import TriMesh
    return isinstance(obj, TriMesh)
