code: def refactor_ifs(stmnt, ifs):
      """
      for if statements in list comprehension
      """
      if isinstance(stmnt, _ast.BoolOp):
          test, right = stmnt.values
          if isinstance(stmnt.op, _ast.Or):
              test = _ast.UnaryOp(
                  op=_ast.Not(), operand=test, lineno=0, col_offset=0
              )
  
          ifs.append(test)
  
          return refactor_ifs(right, ifs)
      return stmnt
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import opcode
  import _ast
  from ..bytecodetools.instruction import Instruction
  from ..asttools.visitors.print_visitor import print_ast
  from ..utils import py3op, py2op, py3
label_desc: Use image node_id 5 for calling a global function with example usage: refactor_ifs(stmnt, ifs) and returns: stmnt, refactor_ifs