In my experience, no. I designed a macro-sized multi-terrain script, it tried to check terrains of placed blocks but was giving me false positives, as in, command label was marked positive for finding a desert terrain block when I know for a fact I didn't place any prior to that check. It does match other keys, just not the terrain one.