(input_string)
| 131 | def pluralize(word, n): |
| 132 | return word if n <= 1 else word + 's' |
| 133 | def is_negative(input_string): |
| 134 | # List of negative representations |
| 135 | negative_values = {"false", "no", "n", "0", "nah", "nope", "never", "negative", "f"} |
| 136 | |
| 137 | # Normalize the input string to lowercase and strip any extra whitespace |
| 138 | normalized_string = input_string.strip().lower() |
| 139 | |
| 140 | # Check if the normalized string is in the set of negative values |
| 141 | return normalized_string in negative_values |
| 142 | |
| 143 | created_fns = set() |
| 144 | cache_check_done = False |
no outgoing calls
no test coverage detected