Information about opened document

I want to know if is it possible to find out if document that I want to open is being used (opened) by other user. Can I get the information from CODE server?