Dispatch Again

I'm stuck.  Does anyone know if it is possible to tell if the current logged in user has the selected file checked out using a dispatch script?

SolidworksSolidworks Pdm enterprise Pdm