def with_condition(self, condition):
    '\n        Add a condition to the parser element. The condition must be a function that takes\n        a match and return True or False, i.e. a function which takes tuple(list(Element), int)\n        and returns bool. If the function evaluates True, the match is kept, while if the function\n        evaluates False, the match is discarded. The condition is executed after any other actions.\n        '
    self.condition = condition
    return self
Add a condition to the parser element. The condition must be a function that takes
a match and return True or False, i.e. a function which takes tuple(list(Element), int)
and returns bool. If the function evaluates True, the match is kept, while if the function
evaluates False, the match is discarded. The condition is executed after any other actions.
def with_condition(self, condition):
    '\n        Add a condition to the parser element. The condition must be a function that takes\n        a match and return True or False, i.e. a function which takes tuple(list(Element), int)\n        and returns bool. If the function evaluates True, the match is kept, while if the function\n        evaluates False, the match is discarded. The condition is executed after any other actions.\n        '
    self.condition = condition
    return self