concrete/src/Entity/File/StorageLocation/StorageLocation.php
public function hasFiles()
    {
        $app = Application::getFacadeApplication();
        $db = $app->make('database');
        $fIDs = $db->fetchColumn('SELECT fID FROM Files WHERE fslID = ?', [$this->getID()]);
        return (!empty($fIDs));
    }
public function hasFiles()
    {
        $app = Application::getFacadeApplication();
        $db = $app->make('database');
        $fIDs = $db->fetchColumn('SELECT fID FROM Files WHERE fslID = ?', [$this->getID()]);
        return (!empty($fIDs));
    }
public function hasFiles ( ) { $ app = Application :: getFacadeApplication ( ) ; $ db = $ app -> make ( 'database' ) ; $ fIDs = $ db -> fetchColumn ( 'SELECT fID FROM Files WHERE fslID = ?' , [ $ this -> getID ( ) ] ) ; return ( ! empty ( $ fIDs ) ) ; }
Check if the storage location contains files

@return boolean
Check if the storage location contains files