docs: private Optional<LocalComponent> getLocalComponentForElement(Element element) {
      String componentName = element.getAttributes().getValue("is");
      if (componentName == null) {
        componentName = element.getStartTag().getName();
      }
  
      return context.getLocalComponent(componentName);
    }