Move the substrate aside and take the temperature of the glass over the heat pad. Ball pythons burrow so they'll move the substrate aside. You can also put a very thin layer of substrate over the heat pad, as it doesn't take much to absorb the minimal waste from a BP.