As this is related to tests it could be moved to `baseapi.BaseAPI` and could be something like.

```python
class BaseAPI
    # ...
    def assertInstanceIntersects(self, first, other):
        # ...
        # will need some adjustments to behave like `assertTrue`
```

And could be used inside the test as simple as `self.assertInstanceIntersects(..., ...)`