A possible way to check if the current page is private or not:
PHP Code:
<?php if (getPageField(get_page_slug(0),'private') == 'Y'): ?> ... this page is <strong>private</strong> ... <?php else: ?> ... this page is not private ... <?php endif; ?>
I tried before in any other way (alternative), make use of plugins "GS_Shortcode" PageField.
PHP Code:
<?php if (do_shortcode('[pagefield field="private" /]') == 'Y') { ?> ... this page is <strong>private</strong> ... <?php }else{ ?> ... this page is not private ... <?php } ?>