(self)
| 421 | return request_id in self.responses |
| 422 | |
| 423 | def close_input(self): |
| 424 | if self.process.stdin is not None and not self.process.stdin.closed: |
| 425 | try: |
| 426 | self.process.stdin.close() |
| 427 | except OSError: |
| 428 | pass |
| 429 | |
| 430 | def wait(self, timeout): |
| 431 | return self.process.wait(timeout=timeout) |