if not self.tabs:
is sufficient. That's what I put into the release.