is_readonly

 $

folder


->is_readonly

Returns 1 if the folder has the readonly attribute set, otherwise returns 0 .