private static boolean shouldUseEAPAgreement() {
    return ApplicationInfoImpl.getShadowInstance().isEAP() && !Agreements.isReleaseAgreementsEnabled();
  }
private static boolean shouldUseEAPAgreement()