public static boolean isNetworkTypeCellular(String networkType){
  return networkType.equals("MOBILE");
}

public static boolean isNetworkTypeCellular ( String networkType ) { return networkType . equals ( "MOBILE" ) ; }
check if connected to cellular provider
