Galapagos stop data if

So I am relatively new to grasshopper and even more to galapagos. Im making this optimazation based on radiation on a surface. The optimized surface is then translated into a masonry wall. I want the masonry to be checked if its colliding and if it does then is stops the data from getting into the galapagos component. Is something like this possible? Thanks in advance! stop if (422.0 KB) Ps.: I used ladybug for the analyzes of the radiation.