Traditionally, Joomla doesn't use yoda conditionals. Also, there's no need for the `isset`, since it will always be set. You should do a null value check instead. Finally, try to avoid catching general `Exception`'s, that should be reserved for the most top-level try-catch block. Change this to:

```php
try
{
    $response->get($url);
}
catch (RuntimeException $e)
{
    $response = null;
}

if ($response === null || $response->code !== 200)
```