Any way to check if a {folder} exists using Mendix modeler?

We have on-prem Mendix setup where we are creating folder (for say a Customer#) every time we recieve a response from an API. It appears if a folder exists, Mendix is overwriting files already in the folder and are actually deleting them. I need a way to check if the folder exists and create folder only when it does not exists.
1 answers

Why and where are you using folders?