private static boolean isValid(@NotNull String data, String id, String group) {
      return id != null && group != null && (data.equals(id) || data.equals(group));
    }
private static boolean isValid(@NotNull String data, String id, String group)