code: @TargetApi(Build.VERSION_CODES.FROYO)
      public static boolean hasNetworkLocationFeature(Context context) {
          return hasNetworkLocationFeature(context.getPackageManager());
      }
docs: Checks if the device has a network location feature.
  @param context the context.
  @return {@code true} if the device has a network location feature.