getResponseByAccount() has a line below that should be using an `instanceof` check

```php
if ($response !== null) {
```