Path 1: 352 calls (1.0)

True (352)

1def __bool__(self) -> bool:
2        """Check if the segment contains text."""
3        return bool(self.text)