code: @TargetApi(Build.VERSION_CODES.HONEYCOMB_MR1)
      public static boolean hasUsbAccessoryFeature(Context context) {
          return hasUsbAccessoryFeature(context.getPackageManager());
      }
docs: Checks if the device has an USB accessory.
  @param context the context.
  @return {@code true} if the device has an USB accessory.