if ($DB->isApproved($USER,'sitedoclan_editable',$NODE)) { ... }