mozilla-b2g/gaia — pull request #6826 by arcturus (2012-12-05 14:35:28+00:00)
Title: Bug 817571 - [Contacts] Import contacts option is not working when using  a SIM Card with the PIN code enabled

Checking for the card state.

If carState is ready, means, we have sim card and it's not locked.