If you open a drawing through a program, is there a way you can tell if it had to be opened readonly? More specifically, if you have a script running, opening and closing many drawings, and you don't want the script to bomb if the drawing is locked for any reason, how could you do it?