flowchart TD
Start([開始]) --> InitRes[初始化結果為 False]
InitRes --> LoadCtx[讀取目錄中的 Context.dat]
LoadCtx --> LoopImgs[遍歷清單中的所有檔名]
LoopImgs --> CheckExist{實際檔案是否存在?}
CheckExist -- 是 --> SetFound[發現影像, 返回 False] --> End([結束])
CheckExist -- 否 --> NextImg[檢查下一個檔案]
NextImg --> LoopImgs
LoopImgs -- 結束且未發現 --> SetEmpty[返回 True, 表示無影像] --> End