Cmake presets

I’m working with CMake Presets and want to conditionally enable presets based on whether a specific SDK folder exists on disk. For example, I have presets for building against different SDK versions, and I want the preset to show up only if the corresponding SDK folder is present.

I’ve seen that condition fields in presets support things like environment variables and string comparisons, but I’m not sure if it’s possible to check if a folder (or file) actually exists on disk from within the preset condition.