Does the page have a files path for storing files?
This will only check if files path exists, it will not create the path if it’s not already present.
Available since version 3.0.138. Earlier versions must use the more verbose PagefilesManager::hasPath($page)
Usage
$bool = $page->hasFilesPath();
Return value
bool
API reference based on ProcessWire core version 3.0.236