def _parenthesize_if(self, n, condition):
        s = self._visit_expr(n)
        if condition(n):
            return '(' + s + ')'
        else:
            return s
Visits 'n' and returns its string representation, parenthesized
dataset/ETHPy150Open eliben/pycparser/pycparser/c_generator.py/CGenerator._parenthesize_if