Maybe we can simplify it a little bit like:

```php
if (!$object) {
    return false;
}
$object->Delete();
```