Deletes a local directory.
The path to the local directory to remove. [This can be a full path or a path relative to the current local directory.]
If True, the contents of the directory will be deleted first. [Default is False, which will cause the function to fail if the directory is not empty.]