Returns True if the string is a positive response.
(s: str)
| 132 | |
| 133 | |
| 134 | def _is_positive_response(s: str) -> bool: |
| 135 | """Returns True if the string is a positive response.""" |
| 136 | return s.strip().lower() in ('y', 'yes', 'true', 'confirm') |
| 137 | |
| 138 | |
| 139 | def _prompt_for_function_call( |
no test coverage detected