public static boolean isEmulated() {
    if (ourEmulated == null) {
      if (CURRENT == X86_64) {
        ourEmulated = SystemInfoRt.isMac && isUnderRosetta() || SystemInfoRt.isWindows && !matchesWindowsNativeArch();
      }
      else if (CURRENT == X86) {
        ourEmulated = SystemInfoRt.isWindows && !matchesWindowsNativeArch();
      }
      else {
        ourEmulated = Boolean.FALSE;
      }
    }

    return ourEmulated == Boolean.TRUE;
  }
public static boolean isEmulated()