Please use `null` instead to keep consistency. And then to test:

```php
if ( $location !== null )
{
    // ...
}
```