Added 'isFolder' method to MenuItemWrap