Behavior of ON/OFF pin

I am not sure how to do this. As far as I know, before we can use the modem (that is, before we can sent AT commands) we need to toggle the ON/OFF pin. So, how can I know if the modem is registered or not without sending AT commands ? Otherwise I do not know if I am toggling the ON/OFF when the modem is not registered.