docs: private boolean existsIn(String element, String[] a) {
          for (String s : a) {
              if (element.equals(s)) {
                  return true;
              }
          }
          return false;
      }