Check if the node is a IF node
        Returns:
            bool: True if the node is a conditional node (IF or IFLOOP)

def contains_if(self, include_loop=True):
        """
            Check if the node is a IF node
        Returns:
            bool: True if the node is a conditional node (IF or IFLOOP)
        """
        if include_loop:
            return self.type in [NodeType.IF, NodeType.IFLOOP]
        return self.type == NodeType.IF