This will be useful if we ever want to store account-level gui state.
I built this originally because I thought a paused account would be
this kind of state.
factorize the function to check the validity of a new folder out of
the folder wizard to the FolderMan.
There is even a test for it now.
That way we can also use it in the normal wizard