Provide a method `isWritable` to check if the file/directory path is writable or not.
Provide a method
isWritableto check if the file/directory path is writable or not.