docs: private int setSecDataArr(HashMap m, ArrayList arr, boolean isEvent) {
          
          int idx = setSecDataArr(m, arr);
          
          if (idx != 0 && isEvent && getValueOr(m, "date", "").equals("")) {
              return -1;
          } else {
              return idx;
          }
      }