mail::folder::isParentOf — Check if another folder is this folder's subfolder
        
        
        #include <libmail/mail.H>
        
        mail::folder *folder;
        mail::folder *otherFolder;
        
| bool
            flag=folder->isParentOf( | otherFolder->getPath() ); | 
This function returns an indication whether a folder's path (returned by mail::folder::getPath(3x)) refers to a subfolder of this folder.