$page->isInvisible()

Checks if the page is invisible

  • return (boolean)
<?php if($page->isInvisible()): ?>
  // redirect to error page
  <?php go('error') ?>
<?php endif ?>