i think it's more conventional to use `if hasattr(last_instance, 'logo'):`, and it would also protect against the cases where `last_instance` is truthy but does not have the `logo` attr.