see below... this could just become: 
```python
if self.conn and logevent.conn != self.thread:
    return False
```