utilize the folderlistmodel isFolder function