Style pinned hits in search results

Is there a way to know that a result hit has been “pinned”? I like to style pinned results a little differently from “regular” results.