def _negation(value):
    """Parse an optional negation after a verb (in a Gherkin feature spec)."""
    if value == "":
        return False
    elif value in [" not", "not"]:
        return True
    else:
        raise ValueError("Cannot parse '{}' as an optional negation".format(value))