protected static boolean readExternalBoolean(@NotNull Element element, @NotNull String name, @NotNull Consumer<Boolean> consumer) {
    var childElement = element.getChild(name);
    if (childElement == null) {
      return false;
    }
    var value = Boolean.parseBoolean(childElement.getText());
    consumer.accept(value);
    return true;
  }
protected static boolean readExternalBoolean(@NotNull Element element, @NotNull String name, @NotNull Consumer<Boolean> consumer)