private static boolean hasNonTrustedProjects() {
    for (Project project : ProjectManager.getInstance().getOpenProjects()) {
      if (!TrustedProjects.isTrusted(project)) {
        return true;
      }
    }
    return false;
  }
private static boolean hasNonTrustedProjects()