So basically it is what you said: I "want to verify that the page is locked against editing except by the admin?" before the php code is excecuted.