Is there a way to show if an object or document is pinned in a view? either with an icon, or a column with a property definition?

Is there a way to show if an object or document is pinned in a view? either with an icon, or a column with a property definition?  I have to suspect with a vault application or script there must be a way to look up if an object is pinned and fill a property with that? ideally users want to have it change the icon similar to how checked out adds a flag