As the tittle says... How to know if a page is private or public? I need to implement some logic in a velocity file from my custom theme only for private pages.
I found this page Access Objects from Velocity and it seems very useful but I need some help with the API because I don't know which utility class has a method for what I'm looking.
I thought in a workaround making my condition a theme property, but I don't want to depend from the admin user
Thank you