Return True if there are any cookies in the jar.
(self)
| 163 | return (cookie.name for cookie in self.jar) |
| 164 | |
| 165 | def __bool__(self) -> bool: |
| 166 | """Return True if there are any cookies in the jar.""" |
| 167 | for _ in self.jar: |
| 168 | return True |
| 169 | return False |
| 170 | |
| 171 | def __repr__(self) -> str: |
| 172 | """Return a string representation of the Cookies object.""" |
nothing calls this directly
no outgoing calls
no test coverage detected