How about `try`/`except` then reraise if it isnt a client:

```python
try:
    client = Client.deserialize(client)
except:
    if not isinstance(client, Client):
        raise
```