Check if Modem Decided

ok = modem.decided()

The modem is queried to discover its model and behaviour. Until this process is complete, then modem.decided() will return false.