Investigate if there are better ways to figure out if a folder is writeable or not in Constrained Language Mode.