finally found a way to detect shadow build.