public static boolean isSupportedDexMagic(byte[] magic) {
    int api = magicToApi(magic);
    return api > 0;
  }
Checks whether a DEX file magic string is supported.

@param magic string from DEX file
@return
android/android_framework/dex-maker/src/main/java/com/android/dex/DexFormat.java