I hope you're all doing well. I've been working on a PHP project lately and I came across a function called `is_writable()`. From the name itself, it seems like this function is used to check if a file or directory is writable or not.
However, I'm a bit confused about how exactly this function works and how to use it properly in my code. Can someone please provide me with a clear explanation of the `is_writable()` function and maybe even provide an example that demonstrates its usage?
Thank you in advance for your help!