protected boolean contains(@NotNull AbstractTreeNode<?> node, @NotNull T element) {
    T content = getContent(node);
    return content != null && isAncestor(content, element);
  }
protected boolean contains(@NotNull AbstractTreeNode<?> node, @NotNull T element)