Returns true if this Socket is connected, False otherwise.
(self)
| 316 | return self.send(data) |
| 317 | |
| 318 | def is_connected(self) -> bool: |
| 319 | """Returns true if this Socket is connected, False otherwise.""" |
| 320 | return self.__sock is not None |
| 321 | |
| 322 | def close(self) -> None: |
| 323 | self.__cleanup() |
no outgoing calls