unlock file flag

Is there any way to use the API to get the unlock flags set by the user?  For example, if a user checks in file 123.sldprt and enables the option to keep the file checked out, can that information be found anywhere in the preunlock hook?

SolidworksSolidworks Pdm enterprise Pdm