Nitpicky, but that could be shortened to just:
```php
return !empty($row);
```