Yes, I do this with my asset tracker wake on move example. The accelerometer can be configured to latch the output high, so I’m able to read it after waking up to see if that’s what caused the wakeup, then reset it. I just use an ordinary digitalRead(WKP).