In this case since you're not using $row for anything else, it would probably be better to just check the return of the method call:
```php
if (!$this->get_access_token_row($data))
```