def is_conditional(self, include_loop=True):
        """
            Check if the node is a conditional node
            A conditional node is either a IF or a require/assert or a RETURN bool
        Returns:
            bool: True if the node is a conditional node
        """
        if self.contains_if(include_loop) or self.contains_require_or_assert():
            return True
        if self.irs:
            last_ir = self.irs[-1]
            if last_ir:
                if isinstance(last_ir, Return):
                    for r in last_ir.read:
                        if r.type == ElementaryType('bool'):
                            return True
        return False
def is_conditional ( self , include_loop = True ) : if self . contains_if ( include_loop ) or self . contains_require_or_assert ( ) : return True if self . irs : last_ir = self . irs [ - 1 ] if last_ir : if isinstance ( last_ir , Return ) : for r in last_ir . read : if r . type == ElementaryType ( 'bool' ) : return True return False
Check if the node is a conditional node
            A conditional node is either a IF or a require/assert or a RETURN bool
        Returns:
            bool: True if the node is a conditional node