Checks if the file is writable
<?php if($page->file()->isWritable()): ?> The file is writable <?php endif ?>