def parse_negation_operation(operation: str) -> Tuple[bool, str]:
_operation = operation.strip()<EOL>if not _operation:<EOL><INDENT>raise QueryParserException('<STR_LIT>'.format(operation))<EOL><DEDENT>negation = False<EOL>if _operation[<NUM_LIT:0>] == '<STR_LIT>':<EOL><INDENT>negation = True<EOL>_operation = _operation[<NUM_LIT:1>:]<EOL><DEDENT>return negation, _operation.strip()<EOL>
Parse the negation modifier in an operation.