You can use List Folder to get folder contents, or Get Files should work too. Since that returns an array of items, you can use the length() function to determine if there are any files.
Quick example-

With no files in the folder-

And with one file in the folder, returns False-

Hopefully that does what you need it to!