docs: static boolean isItemInArray(Object item, Object[] arrayOfValues) {
          if (arrayOfValues == null) {
              return false;
          }
  
          for (Object value : arrayOfValues) {
              if (Objects.equals(value, item)) {
                  return true;
              }
          }
          return false;
      }