Query if the input started using play() or loop() has been paused using pause()
AudioOutI2S.isPaused();
1 if input is currently paused, 0 otherwise
// check if playback is paused
if (AudioOutI2S.isPaued()) {
// playback has paused
Serial.println("playback paused");
while (1); // do nothing
}