Use SwatFileEntry::isUploaded().