My layman understanding is that the dyson spheres would occlude objects behind them if they happen to be in line of sight to us. Given that things in the universe are not static, other (visible) bodies would move in and out of occlusion, allowing us to detect the DS.