$folder->is_readonly
folder
Returns 1 if the folder has the readonly attribute set, otherwise returns 0.
1
readonly
0