How can I find out if someone else has a file open?
Its not possible
use isused() function
Try to open file with locking enabled
Try to write the file after opening