How to checck the references in an assembly are read only or not

Hi,When I open an assembly I click file>Reload. Is there any API Function to check if the part  file in an assembly  is opened  read only or not?

PS: I checked is openedreadonly() function. That function checks the readonly status of opened file,but not refernces of an assembly

Message was edited by: Balusu Krishna

SolidworksApi macros