$page->hasFiles()

Checks if there are any files in the page's directory.