if value is False res res elif not value is True raise AnalyzeError In

1
2
3
4
if value is False:
res = ~res
elif not value is True:
raise AnalyzeError("Invalid value {0}".format(condition.value))