code: def visit_if(self, node):
          
          ifs = ["if %s:\n%s" % (node.test.accept(self), self._stmt_list(node.body))]
          if node.has_elif_block():
              ifs.append("el%s" % self._stmt_list(node.orelse, indent=False))
          elif node.orelse:
              ifs.append("else:\n%s" % self._stmt_list(node.orelse))
          return "\n".join(ifs)
docs: return an astroid.If node as string