Determines whether a specified long transaction object contains a specified object in its workset.
Returns true if the long transaction workset contains the object specified with the identifier pId parameter. Otherwise returns false.