good question. You could image the service id will map to SIM slot, there the length of mozMobileConnections would always have 0 and 1 as properties for service id. You could check the iccid to know if sim card is inserted or not.