$file->isReadable()

Checks if the file is readable

Example

<?php if($page->file()->isReadable()): ?>
The file is readable
<?php endif ?>