```sh
var = is_readonly path
```
This command will return true/false based if the provided path exists and is set to readonly.
The path to check.
True if the provided path exists and is set to readonly.
```sh
readonly = is_readonly ./dir/somefile.txt
```