Static mesh spawner enhancement?

Is there a way in a PCG to prevent assets be spawned when that conflicts with collision? I have elevated paths in my scene and some of the assets spawned below these paths are higher than the elevation of the path - so it will grow ‘trough the path’ , so to speak. I would like to prevent this spawning at that time.