Running Queries conditionally in Plasmic Studio

Is there a way inside the Plasmic Studio, to conditionally run Queries in the settings tab? For example, I would only want for that query to run if a certain value exist in localstorage?