How can I know if a non-required RenderSection exists?

Viewed 12589
@* Omitted code.. *@
@RenderBody()
@RenderSection("Sidebar", required: false)

Is there any way to know in the Omitted code part if the RenderSection Sidebar exists or not?

1 Answers
Related