public final boolean isSimNetworkLocked(){
  return tm != null && tm.getSimState() == TelephonyManager.SIM_STATE_NETWORK_LOCKED;
}

public final boolean isSimNetworkLocked ( ) { return tm != null && tm . getSimState ( ) == TelephonyManager . SIM_STATE_NETWORK_LOCKED ; }
is sim network locked .
