and change this to:
```
if not self.connect:
  return False