bool IsPinned(Resource* pres);
IsPinned determines if the resource is pinned in the strong library.
A Boolean value of 1 if the resource is pinned, otherwise 0.