Arduino MKR GSM 1400 checking connection

Is there a way to check if the MKR GSM 1400 it is connected to the internet? Not if it is communicating with the server (MKR is client), but if it can still transmit data. Like with the esp32 : if (WiFi.status() == WL_CONNECTED)
In the case when it is not connected, i want to recall : gprs.attachGPRS(GPRS_APN, GPRS_LOGIN, GPRS_PASSWORD);
It's possible to ever get disconnected? Not in the case where there are no MB available on the SIM to use to transmit data.
I didn't find anything by now on the forum.

Thank you!