How to determine if a folder is a dataless folder

There will be a cloud download icon on the folder, and when I click download, I will go to download the file below. Then this icon will disappear, but when I move a dataless file into the folder, the cloud download icon will appear again. I understand if there is any way to determine whether the folder has downloaded properties

please help me,and I can judge fle by URLUbiquitousItemDownloadingStatus,but folder no!

How to determine if a folder is a dataless folder
 
 
Q