def getTruthValue(self):

        if self.isCompileTimeConstant():
            return bool(self.getCompileTimeConstant())
        else:
            return None
Return known truth value. The "None" value indicates unknown.
dataset/ETHPy150Open kayhayen/Nuitka/nuitka/nodes/NodeBases.py/ExpressionMixin.getTruthValue