static boolean isFolderWritable(Folder folder) { return isFolderSelectable(folder) && !(folder instanceof SearchFolder);
static boolean isFolderWritable(Folder folder, ImapSession session) { return isFolderSelectable(folder, session) && !(folder instanceof SearchFolder);
    static boolean isFolderWritable(Folder folder) {        return isFolderSelectable(folder) && !(folder instanceof SearchFolder);    }