sprockets/src/main/java/net/sf/sprockets/net/Network.java
public static boolean isConnected(Context context) {
        NetworkInfo info = Managers.connectivity(context).getActiveNetworkInfo();
        return info != null && info.isConnected();
    }
public static boolean isConnected(Context context) {
        NetworkInfo info = Managers.connectivity(context).getActiveNetworkInfo();
        return info != null && info.isConnected();
    }
public static boolean isConnected ( Context context ) { NetworkInfo info = Managers . connectivity ( context ) . getActiveNetworkInfo ( ) ; return info != null && info . isConnected ( ) ; }
True if a data network is connected.
True if a data network is connected .