Is the grid led state accessible anywhere in the lua environment?
no, but you can use something like the gridbuf library module to maintain LED state on lua side.
gridbuf