Check if "Pictures" Folder on SD Card exists

Hi there, I have read that since API 29 due to safety reasons the whole process on where to create folders is going to be more strict.
What i want to archive: create a simple slideshow app that randomly gets an image from the folder on (if available) SD Card.

So far i have come to this:
I installed the Diagnostic plugin to get the URL of the external SD card folder.
I also installed the Cordova File plugin for file handling.
I also installed the permissions plugin that sets permission for SD card read and write.

I manually made a “myphotos” folders inside the “Pictures” folder of the SD Card.
How can i first check if the folder exists and then read all the files inside that folder and choose one?

I am a bit stuck here :frowning:

Thanks in advance for your support and time!