code: public boolean isMobileConnected() {
  		if (connMan == null) {
  			connMan = (ConnectivityManager) context
  					.getSystemService(Context.CONNECTIVITY_SERVICE);
  		}
  		NetworkInfo mobileNetworkInfo = connMan.getNetworkInfo(TYPE_MOBILE);
  		if (mobileNetworkInfo == null) {
  			return false;
  		}
  		return mobileNetworkInfo.isConnected();
  	}
docs: Check if Mobile network is connected<br>
  Requires ACCESS_NETWORK_SATE, READ_PHONE_STATE permissions<br>
  
  @return true if Mobile network has connection; false otherwise