How to check if PIN active for SIM card?

How can I check if a PIN is active for the SIM card. A compliance check for this would be great but it seems it is not there.