Prints warning and returns false when no write permission to a path exists.
assert.write(path)
path
writable
file.access
if (!assert.write("my-file.txt")) return(FALSE)