protected boolean isRegionCollapsedByDefault(@NotNull FoldingDescriptor descriptor) {
    return isRegionCollapsedByDefault(descriptor.getElement());
  }
protected boolean isRegionCollapsedByDefault(@NotNull FoldingDescriptor descriptor)